--- loncom/xml/londefdef.pm 2013/10/12 01:26:31 1.449 +++ loncom/xml/londefdef.pm 2013/10/14 17:11:18 1.450 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Tags Default Definition Module # -# $Id: londefdef.pm,v 1.449 2013/10/12 01:26:31 raeburn Exp $ +# $Id: londefdef.pm,v 1.450 2013/10/14 17:11:18 raeburn Exp $ # # # Copyright Michigan State University Board of Trustees @@ -4595,7 +4595,7 @@ sub latex_header { sub clean_docs_httpref { my ($href,$docuri,$cdom,$cnum) = @_; if ($docuri eq '') { - &Apache::lonnet::hreflocation('',$env{'request.filename'}); + $docuri = &Apache::lonnet::hreflocation('',$env{'request.filename'}); } if ($cdom eq '') { $cdom = $env{'course.'.$env{'request.course.id'}.'.domain'};