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

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 16 Sep 2005 20:39:57 -0000


albertel		Fri Sep 16 16:39:57 2005 EDT

  Modified files:              (Branch: version_2_0_X)
    /loncom/interface	lonprintout.pm 
  Log:
  - not sure why this was a globel...
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.381.2.1 loncom/interface/lonprintout.pm:1.381.2.2
--- loncom/interface/lonprintout.pm:1.381.2.1	Thu Sep  1 14:39:47 2005
+++ loncom/interface/lonprintout.pm	Fri Sep 16 16:39:56 2005
@@ -1,7 +1,7 @@
 #  The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.381.2.1 2005/09/01 18:39:47 albertel Exp $
+# $Id: lonprintout.pm,v 1.381.2.2 2005/09/16 20:39:56 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -42,8 +42,6 @@
 use POSIX qw(strftime);
 use Apache::lonlocal;
 
-my $resources_printed = '';
-
 #   Compare two students by name.  The students are in the form
 #   returned by the helper:
 #      user:domain:section:last,   first:status
@@ -809,6 +807,7 @@
 sub output_data {
     my ($r,$helper,$rparmhash) = @_;
     my %parmhash = %$rparmhash;
+    my $resources_printed = '';
     my $html=&Apache::lonxml::xmlbegin();
     my $bodytag=&Apache::loncommon::bodytag('Preparing Printout');
     $r->print(<<ENDPART);