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

sakharuk lon-capa-cvs@mail.lon-capa.org
Thu, 15 Jan 2004 21:23:22 -0000


sakharuk		Thu Jan 15 16:23:22 2004 EDT

  Modified files:              
    /loncom/interface	lonprintout.pm 
  Log:
  Add delenv before init_counter to have a correct ordering (old Guy's note).
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.269 loncom/interface/lonprintout.pm:1.270
--- loncom/interface/lonprintout.pm:1.269	Thu Jan 15 15:06:19 2004
+++ loncom/interface/lonprintout.pm	Thu Jan 15 16:23:22 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.269 2004/01/15 20:06:19 albertel Exp $
+# $Id: lonprintout.pm,v 1.270 2004/01/15 21:23:22 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -872,6 +872,7 @@
 	my $flag_page_in_sequence = 'NO';
 	my @master_seq=split /\|\|\|/, $helper->{'VARS'}->{'RESOURCES'};
 	my $prevassignment='';
+	&Apache::lonnet::delenv('form.counter');
 	&Apache::lonxml::init_counter();
 	for (my $i=0;$i<=$#master_seq;$i++) {
 	    my (undef,undef,$urlp)=&Apache::lonnet::decode_symb($master_seq[$i]);