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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 13 Oct 2005 10:27:28 -0000


albertel		Thu Oct 13 06:27:28 2005 EDT

  Modified files:              
    /loncom/interface/spreadsheet	Spreadsheet.pm 
  Log:
  - sigh
  
  
Index: loncom/interface/spreadsheet/Spreadsheet.pm
diff -u loncom/interface/spreadsheet/Spreadsheet.pm:1.57 loncom/interface/spreadsheet/Spreadsheet.pm:1.58
--- loncom/interface/spreadsheet/Spreadsheet.pm:1.57	Wed Oct 12 17:48:32 2005
+++ loncom/interface/spreadsheet/Spreadsheet.pm	Thu Oct 13 06:27:28 2005
@@ -1,5 +1,5 @@
 #
-# $Id: Spreadsheet.pm,v 1.57 2005/10/12 21:48:32 albertel Exp $
+# $Id: Spreadsheet.pm,v 1.58 2005/10/13 10:27:28 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1673,7 +1673,7 @@
     my $filename = $self->filename();
     my $cachekey = join('_',($cnum,$cdom,$stype,$filename));
 
-    if (ref($self->{'formulas'}) eq 'HASH') {
+    if (ref($formulas) eq 'HASH') {
 	%{$spreadsheets{$cachekey}->{'formulas'}} = %{$formulas};
     }
     if (ref($self->{'row_source'})) {