[LON-CAPA-cvs] cvs: loncom /interface lonprintout.pm
bowersj2
lon-capa-cvs@mail.lon-capa.org
Wed, 30 Apr 2003 19:25:47 -0000
bowersj2 Wed Apr 30 15:25:47 2003 EDT
Modified files:
/loncom/interface lonprintout.pm
Log:
Makes the paper selection state work.
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.135 loncom/interface/lonprintout.pm:1.136
--- loncom/interface/lonprintout.pm:1.135 Wed Apr 30 15:18:37 2003
+++ loncom/interface/lonprintout.pm Wed Apr 30 15:25:47 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Printout
#
-# $Id: lonprintout.pm,v 1.135 2003/04/30 19:18:37 bowersj2 Exp $
+# $Id: lonprintout.pm,v 1.136 2003/04/30 19:25:47 bowersj2 Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1590,9 +1590,10 @@
my $self = shift;
my $var = $self->{'variable'};
+ my $helper = Apache::lonhelper->getHelper();
$helper->{VARS}->{$var} =
- $ENV{'form.$var.layout'} . '|' . $ENV{'form.$var.cols'} . '|' .
- $ENV{'form.$var.paper'};
+ $ENV{"form.$var.layout"} . '|' . $ENV{"form.$var.cols"} . '|' .
+ $ENV{"form.$var.paper"};
return 1;
}