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

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 14 May 2003 13:33:28 -0000


albertel		Wed May 14 09:33:28 2003 EDT

  Modified files:              
    /loncom/interface	lonprintout.pm 
  Log:
  - typos
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.167 loncom/interface/lonprintout.pm:1.168
--- loncom/interface/lonprintout.pm:1.167	Wed May 14 09:20:06 2003
+++ loncom/interface/lonprintout.pm	Wed May 14 09:33:27 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.167 2003/05/14 13:20:06 albertel Exp $
+# $Id: lonprintout.pm,v 1.168 2003/05/14 13:33:27 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -486,7 +486,7 @@
         }
         $moreenv{'request.filename'}=$ENV{'form.url'};
 	my %form;
-        $from{'textwidth'}=$LaTeXwidth;
+        $form{'textwidth'}=$LaTeXwidth;
         $form{'grade_target'}='tex';
         &Apache::lonnet::appenv(%moreenv);
         my $texversion=&Apache::lonnet::ssi($ENV{'form.url'},%form);
@@ -1376,7 +1376,7 @@
 	    $form{'grade_target'}='tex';
 	    $form{'textwidth'}=$LaTeXwidth;
 	    &Apache::lonnet::appenv(%moreenv);
-	    my $texversion=&Apache::lonnet::ssi($currentURL,$form);
+	    my $texversion=&Apache::lonnet::ssi($currentURL,%form);
 	    &Apache::lonnet::delenv('form.counter');
 	    &Apache::lonnet::delenv('request.filename');
 	    if($helper->{'VARS'}->{'ANSWER_TYPE'} eq 'no') {