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

matthew lon-capa-cvs@mail.lon-capa.org
Wed, 16 Oct 2002 16:35:42 -0000


matthew		Wed Oct 16 12:35:42 2002 EDT

  Modified files:              
    /loncom/interface	lonspreadsheet.pm 
  Log:
  Fixed idiot bug which caused data to crash.
  
  
Index: loncom/interface/lonspreadsheet.pm
diff -u loncom/interface/lonspreadsheet.pm:1.116 loncom/interface/lonspreadsheet.pm:1.117
--- loncom/interface/lonspreadsheet.pm:1.116	Mon Oct  7 15:11:39 2002
+++ loncom/interface/lonspreadsheet.pm	Wed Oct 16 12:35:42 2002
@@ -1,5 +1,5 @@
 #
-# $Id: lonspreadsheet.pm,v 1.116 2002/10/07 19:11:39 matthew Exp $
+# $Id: lonspreadsheet.pm,v 1.117 2002/10/16 16:35:42 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2525,7 +2525,7 @@
             $fname=~s/\W/\_/g;
             if ($fname eq 'default') { $fname='course_default'; }
             $fname.='_'.$sheetdata->{'sheettype'};
-            $sheetdata->{'filename'}->$fname;
+            $sheetdata->{'filename'} = $fname;
             $ENV{'form.ufn'}=$fname;
             $r->print('<p>Saving spreadsheet: '.
                       &writesheet($sheet,$ENV{'form.makedefufn'},$sheetdata).