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

albertel lon-capa-cvs@mail.lon-capa.org
Sun, 15 May 2005 02:28:23 -0000


albertel		Sat May 14 22:28:23 2005 EDT

  Modified files:              
    /loncom/interface/spreadsheet	assesscalc.pm 
  Log:
  - slightly better test
  
  
Index: loncom/interface/spreadsheet/assesscalc.pm
diff -u loncom/interface/spreadsheet/assesscalc.pm:1.42 loncom/interface/spreadsheet/assesscalc.pm:1.43
--- loncom/interface/spreadsheet/assesscalc.pm:1.42	Sat May 14 22:19:49 2005
+++ loncom/interface/spreadsheet/assesscalc.pm	Sat May 14 22:28:23 2005
@@ -1,5 +1,5 @@
 #
-# $Id: assesscalc.pm,v 1.42 2005/05/15 02:19:49 albertel Exp $
+# $Id: assesscalc.pm,v 1.43 2005/05/15 02:28:23 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -746,7 +746,7 @@
     }
     #
     # Get the students performance data
-    $self->determine_parts(exists($parameters{'parameter_0_hiddenparts'}));
+    $self->determine_parts(($parameters{'parameter_0_hiddenparts'} ne ''));
     my %student_parameters = $self->get_problem_state();
     while (my ($parm,$value) = each(%student_parameters)) {
         $parm =~ s/^resource\./stores_/;