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

matthew lon-capa-cvs@mail.lon-capa.org
Wed, 26 Mar 2003 21:42:20 -0000


matthew		Wed Mar 26 16:42:20 2003 EDT

  Modified files:              
    /loncom/interface/statistics	lonstudentassessment.pm 
  Log:
  Fixes bug where '.'s were not being generated.
  
  
Index: loncom/interface/statistics/lonstudentassessment.pm
diff -u loncom/interface/statistics/lonstudentassessment.pm:1.42 loncom/interface/statistics/lonstudentassessment.pm:1.43
--- loncom/interface/statistics/lonstudentassessment.pm:1.42	Wed Mar 12 15:53:53 2003
+++ loncom/interface/statistics/lonstudentassessment.pm	Wed Mar 26 16:42:20 2003
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonstudentassessment.pm,v 1.42 2003/03/12 20:53:53 matthew Exp $
+# $Id: lonstudentassessment.pm,v 1.43 2003/03/26 21:42:20 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1126,6 +1126,9 @@
                         $symbol = ' ';
                     }
                     $sum++;
+                } elsif (exists($resource_data->{'resource.'.
+                                                     $partnum.'.tries'})){
+                    $symbol = '.';
                 } else {
                     $symbol = ' ';
                 }