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

matthew lon-capa-cvs@mail.lon-capa.org
Mon, 02 Jun 2003 17:09:09 -0000


matthew		Mon Jun  2 13:09:09 2003 EDT

  Modified files:              
    /loncom/interface	loncoursedata.pm 
  Log:
  Fix asinine bug I wrote.  This bug caused an 'excused' problem status to
  not be stored in the cache.
  
  
Index: loncom/interface/loncoursedata.pm
diff -u loncom/interface/loncoursedata.pm:1.73 loncom/interface/loncoursedata.pm:1.74
--- loncom/interface/loncoursedata.pm:1.73	Mon Jun  2 12:57:41 2003
+++ loncom/interface/loncoursedata.pm	Mon Jun  2 13:09:09 2003
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: loncoursedata.pm,v 1.73 2003/06/02 16:57:41 matthew Exp $
+# $Id: loncoursedata.pm,v 1.74 2003/06/02 17:09:09 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -955,7 +955,7 @@
             my $awarddetail = $param_hash->{'resource.'.$part.'.awarddetail'};
             my $timestamp = $param_hash->{'timestamp'};
             #
-            $solved      = '' if (! defined($awarded));
+            $solved      = '' if (! defined($solved));
             $tries       = '' if (! defined($tries));
             $awarded     = '' if (! defined($awarded));
             $award       = '' if (! defined($award));