[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface lonprintout.pm

raeburn raeburn at source.lon-capa.org
Mon May 29 21:30:04 EDT 2017


raeburn		Tue May 30 01:30:04 2017 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	lonprintout.pm 
  Log:
  - For 2.11
    - Backport 1.658
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.627.2.20 loncom/interface/lonprintout.pm:1.627.2.21
--- loncom/interface/lonprintout.pm:1.627.2.20	Mon Jan 30 19:47:54 2017
+++ loncom/interface/lonprintout.pm	Tue May 30 01:30:04 2017
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.627.2.20 2017/01/30 19:47:54 raeburn Exp $
+# $Id: lonprintout.pm,v 1.627.2.21 2017/05/30 01:30:04 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3458,7 +3458,9 @@
         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:




More information about the LON-CAPA-cvs mailing list