--- loncom/interface/lonprintout.pm 2005/09/01 18:39:47 1.381.2.1 +++ loncom/interface/lonprintout.pm 2005/09/16 20:39:56 1.381.2.2 @@ -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 Apache::lonratedt; 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 get_page_breaks { 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(<