[LON-CAPA-cvs] cvs: loncom /interface lonprintout.pm
bowersj2
lon-capa-cvs@mail.lon-capa.org
Wed, 30 Apr 2003 19:07:29 -0000
bowersj2 Wed Apr 30 15:07:29 2003 EDT
Modified files:
/loncom/interface lonprintout.pm
Log:
Make print state work right.
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.133 loncom/interface/lonprintout.pm:1.134
--- loncom/interface/lonprintout.pm:1.133 Wed Apr 30 12:35:09 2003
+++ loncom/interface/lonprintout.pm Wed Apr 30 15:07:29 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Printout
#
-# $Id: lonprintout.pm,v 1.133 2003/04/30 16:35:09 bowersj2 Exp $
+# $Id: lonprintout.pm,v 1.134 2003/04/30 19:07:29 bowersj2 Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1525,6 +1525,9 @@
my $self = Apache::lonhelper::element->new();
$self->{'variable'} = shift;
+ my $helper = Apache::lonhelper::getHelper();
+ my $paramHash = Apache::lonhelper::getParamHash();
+ $helper->declareVar($paramHash->{'variable'});
bless($self);
return $self;
}