[LON-CAPA-cvs] cvs: loncom /interface lonprintout.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Sat, 05 Nov 2005 18:42:12 -0000
albertel Sat Nov 5 13:42:12 2005 EDT
Modified files:
/loncom/interface lonprintout.pm
Log:
- BUG#4443
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.397 loncom/interface/lonprintout.pm:1.398
--- loncom/interface/lonprintout.pm:1.397 Mon Oct 31 16:48:07 2005
+++ loncom/interface/lonprintout.pm Sat Nov 5 13:42:11 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Printout
#
-# $Id: lonprintout.pm,v 1.397 2005/10/31 21:48:07 albertel Exp $
+# $Id: lonprintout.pm,v 1.398 2005/11/05 18:42:11 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2631,7 +2631,8 @@
$result .= "<select name='${var}.paper'>\n";
my %parmhash=&Apache::lonnet::coursedescription($env{'request.course.id'});
- my $DefaultPaperSize=$parmhash{'default_paper_size'};
+ my $DefaultPaperSize=lc($parmhash{'default_paper_size'});
+ $DefaultPaperSize=~s/\s//g;
if ($DefaultPaperSize eq '') {$DefaultPaperSize='letter';}
$i = 0;
foreach (@paperSize) {