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

matthew lon-capa-cvs@mail.lon-capa.org
Wed, 10 Mar 2004 18:50:38 -0000


matthew		Wed Mar 10 13:50:38 2004 EDT

  Modified files:              
    /loncom/interface/statistics	lonstudentassessment.pm 
  Log:
  Fix bug introduced in last commit to html_outputstudent.  Columns now line
  up again.
  
  
Index: loncom/interface/statistics/lonstudentassessment.pm
diff -u loncom/interface/statistics/lonstudentassessment.pm:1.97 loncom/interface/statistics/lonstudentassessment.pm:1.98
--- loncom/interface/statistics/lonstudentassessment.pm:1.97	Wed Mar 10 13:41:37 2004
+++ loncom/interface/statistics/lonstudentassessment.pm	Wed Mar 10 13:50:38 2004
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonstudentassessment.pm,v 1.97 2004/03/10 18:41:37 matthew Exp $
+# $Id: lonstudentassessment.pm,v 1.98 2004/03/10 18:50:38 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -717,7 +717,7 @@
         my $ratio='';
         if ($chosen_output->{'sequence_sum'} && $score ne ' ') {
             $ratio .= sprintf("%3d",$score);
-        } else {
+        } elsif($chosen_output->{'sequence_sum'}) {
             $ratio .= ' 'x3;
         }
         if ($chosen_output->{'sequence_max'}) {