--- loncom/interface/lonprintout.pm 2017/01/29 23:53:55 1.655 +++ loncom/interface/lonprintout.pm 2017/05/29 22:43:07 1.658 @@ -1,7 +1,7 @@ # The LearningOnline Network # Printout # -# $Id: lonprintout.pm,v 1.655 2017/01/29 23:53:55 raeburn Exp $ +# $Id: lonprintout.pm,v 1.658 2017/05/29 22:43:07 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -40,7 +40,6 @@ use Apache::admannotations; use Apache::lonenc; use Apache::entities; use Apache::londefdef; -use LONCAPA; # use Apache::structurelags; # for language management. use File::Basename; @@ -3453,7 +3452,9 @@ ENDPART if ($env{'request.enc'}) { $url = &Apache::lonenc::encrypted($url); } - $URLback = $url.($url =~ /\?/) ? '&':'?'.'?symb='.$helper->{VARS}{'symb'}; + if ($url ne '') { + $URLback = $url.(($url =~ /\?/) ? '&':'?').'symb='.$helper->{VARS}{'symb'}; + } } # # Final adjustment of the font size: