[LON-CAPA-cvs] cvs: loncom /interface lonprintout.pm
foxr
foxr@source.lon-capa.org
Mon, 03 Aug 2009 11:01:15 -0000
foxr Mon Aug 3 11:01:15 2009 EDT
Modified files:
/loncom/interface lonprintout.pm
Log:
Ensure that map_laystyle explicitly specifies &Apache::lonprintout when used by
subs in the lonprintout::page_size_state package...else printing can
fail dramatically.
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.559 loncom/interface/lonprintout.pm:1.560
--- loncom/interface/lonprintout.pm:1.559 Thu Jul 23 10:53:03 2009
+++ loncom/interface/lonprintout.pm Mon Aug 3 11:01:14 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Printout
#
-# $Id: lonprintout.pm,v 1.559 2009/07/23 10:53:03 foxr Exp $
+# $Id: lonprintout.pm,v 1.560 2009/08/03 11:01:14 foxr Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -4009,7 +4009,7 @@
($papersize) = split(/ /, $papersize);
- $laystyle = &map_laystyle($laystyle);
+ $laystyle = &Apache::lonprintout::map_laystyle($laystyle);
# Figure out some good defaults for the print out and set them: