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

raeburn raeburn at source.lon-capa.org
Mon Jul 1 15:14:14 EDT 2024


raeburn		Mon Jul  1 19:14:14 2024 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	lonprintout.pm 
  Log:
  - For 2.11
    Backport 1.690
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.627.2.33 loncom/interface/lonprintout.pm:1.627.2.34
--- loncom/interface/lonprintout.pm:1.627.2.33	Mon Jul  1 18:38:41 2024
+++ loncom/interface/lonprintout.pm	Mon Jul  1 19:14:14 2024
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.627.2.33 2024/07/01 18:38:41 raeburn Exp $
+# $Id: lonprintout.pm,v 1.627.2.34 2024/07/01 19:14:14 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3769,7 +3769,7 @@
 			$rendered =~ s/\\end\{document}//;
 		    }
 		    $current_output .= $rendered.'\vskip 0.5mm\noindent\makebox[\textwidth/$number_of_columns][b]{\hrulefill}\strut \vskip 0 mm \strut ';
-		} elsif($res_url = ~/\.pdf$/) {
+		} elsif($res_url =~ /\.pdf$/) {
 		    my $url = &Apache::lonnet::clutter($res_url);
 		    my $rendered  = &include_pdf($url);
 		    if ($remove_latex_header ne 'NO') {




More information about the LON-CAPA-cvs mailing list