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

matthew lon-capa-cvs@mail.lon-capa.org
Fri, 13 Dec 2002 19:11:01 -0000


matthew		Fri Dec 13 14:11:01 2002 EDT

  Modified files:              
    /loncom/interface	lonspreadsheet.pm 
  Log:
  Fix another caching problem - the student level caches were not being read
  in because the filename was incorrect.
  
  
Index: loncom/interface/lonspreadsheet.pm
diff -u loncom/interface/lonspreadsheet.pm:1.158 loncom/interface/lonspreadsheet.pm:1.159
--- loncom/interface/lonspreadsheet.pm:1.158	Mon Dec  9 16:11:12 2002
+++ loncom/interface/lonspreadsheet.pm	Fri Dec 13 14:11:00 2002
@@ -1,5 +1,5 @@
 #
-# $Id: lonspreadsheet.pm,v 1.158 2002/12/09 21:11:12 matthew Exp $
+# $Id: lonspreadsheet.pm,v 1.159 2002/12/13 19:11:00 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2915,7 +2915,8 @@
     $uname = $uname || $sheet->{'uname'};
     $udom  = $udom  || $sheet->{'udom'};
     if (! $loadedcaches{$uname.'_'.$udom}) {
-        my @tmp = &Apache::lonnet::dump('nohist_calculatedsheets',
+        my @tmp = &Apache::lonnet::dump('nohist_calculatedsheets_'.
+                                        $ENV{'request.course.id'},
                                         $sheet->{'udom'},
                                         $sheet->{'uname'});
         if ($tmp[0] !~ /^error/) {