[LON-CAPA-cvs] cvs: loncom /interface lonprintout.pm
sakharuk
lon-capa-cvs@mail.lon-capa.org
Mon, 18 Aug 2003 18:22:53 -0000
sakharuk Mon Aug 18 14:22:53 2003 EDT
Modified files:
/loncom/interface lonprintout.pm
Log:
Bug 2051 (lonprintout.pm warning on Apache restart) is fixed.
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.216 loncom/interface/lonprintout.pm:1.217
--- loncom/interface/lonprintout.pm:1.216 Mon Aug 18 14:18:48 2003
+++ loncom/interface/lonprintout.pm Mon Aug 18 14:22:53 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Printout
#
-# $Id: lonprintout.pm,v 1.216 2003/08/18 18:18:48 sakharuk Exp $
+# $Id: lonprintout.pm,v 1.217 2003/08/18 18:22:53 sakharuk Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -755,7 +755,7 @@
}
if (($selectionmade == 4) and ($assignment ne $prevassignment) and ($i>=1)) {
my ($name,$courseidinfo) = &get_name;
- my $courseidinfo = &get_course();
+ $courseidinfo = &get_course();
if (defined($courseidinfo)) { $courseidinfo=' - '.$courseidinfo }
$prevassignment=$assignment;
$result .='\newpage \noindent\parbox{\minipagewidth}{\noindent\\lhead{\\textit{\\textbf{'.$name.'}}'.$courseidinfo.' \\hfill \\thepage \\\\ \\textit{'.$assignment.'}}} \vskip -5 mm ';