[LON-CAPA-cvs] cvs: loncom /interface lonprintout.pm

bowersj2 lon-capa-cvs@mail.lon-capa.org
Wed, 30 Apr 2003 20:03:14 -0000


bowersj2		Wed Apr 30 16:03:14 2003 EDT

  Modified files:              
    /loncom/interface	lonprintout.pm 
  Log:
  Should make sure we can get at the PRINT_TYPE variable.
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.136 loncom/interface/lonprintout.pm:1.137
--- loncom/interface/lonprintout.pm:1.136	Wed Apr 30 15:25:47 2003
+++ loncom/interface/lonprintout.pm	Wed Apr 30 16:03:14 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.136 2003/04/30 19:25:47 bowersj2 Exp $
+# $Id: lonprintout.pm,v 1.137 2003/04/30 20:03:14 bowersj2 Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1457,6 +1457,7 @@
     Apache::lonhelper::message->new();
     $paramHash = Apache::lonhelper::getParamHash();
     $paramHash->{'variable'} = 'PRINT_TYPE';
+    $helper->declareVar('PRINT_TYPE');
     $paramHash->{CHOICES} = $printChoices;
     Apache::lonhelper::choices->new();
     Apache::lonprintout::page_format_state->new("FORMAT");