--- loncom/interface/londocs.pm 2012/11/29 20:37:07 1.511 +++ loncom/interface/londocs.pm 2012/11/30 14:46:21 1.512 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.511 2012/11/29 20:37:07 raeburn Exp $ +# $Id: londocs.pm,v 1.512 2012/11/30 14:46:21 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -3292,7 +3292,7 @@ sub handler { if ($mapurl eq 'default') { $maptitle = 'Main Course Documents'; } - $path .= ($path ne '')? '&' : ''. + $path .= (($path ne '')? '&' : ''). &Apache::lonhtmlcommon::entity_encode($mapurl).'&'. &Apache::lonhtmlcommon::entity_encode($maptitle). ':'.$mapresobj->randompick().