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

sakharuk lon-capa-cvs@mail.lon-capa.org
Mon, 12 Jan 2004 21:53:27 -0000


sakharuk		Mon Jan 12 16:53:27 2004 EDT

  Modified files:              
    /loncom/interface	lonprintout.pm 
  Log:
  Bug 2459 (Printing assignments always gives all the title of assignment1) is fixed.
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.266 loncom/interface/lonprintout.pm:1.267
--- loncom/interface/lonprintout.pm:1.266	Thu Dec  4 16:44:21 2003
+++ loncom/interface/lonprintout.pm	Mon Jan 12 16:53:27 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.266 2003/12/04 21:44:21 sakharuk Exp $
+# $Id: lonprintout.pm,v 1.267 2004/01/12 21:53:27 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -889,6 +889,7 @@
 	    $form{'symb'}=$master_seq[$i];
 	    my ($sequence)=&Apache::lonnet::decode_symb($master_seq[$i]);
 	    my $assignment=&Apache::lonxml::latex_special_symbols(&Apache::lonnet::gettitle($sequence),'header'); #tittle of the assignment which contains this problem
+	    if ($selectionmade==7) {$helper->{VARS}->{'assignment'}=$assignment;}
 	    if ($i==0) {$prevassignment=$assignment;}
 	    #&Apache::lonnet::logthis("Trying to get $urlp with symb $master_seq[$i]");
 	    my $texversion.=&Apache::lonnet::ssi($urlp,%form);