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

bowersj2 lon-capa-cvs@mail.lon-capa.org
Sat, 28 Jan 2006 19:26:00 -0000


bowersj2		Sat Jan 28 14:26:00 2006 EDT

  Modified files:              
    /loncom/interface/statistics	lonstudentassessment.pm 
  Log:
  Fix bug #4358.
  
  
Index: loncom/interface/statistics/lonstudentassessment.pm
diff -u loncom/interface/statistics/lonstudentassessment.pm:1.127 loncom/interface/statistics/lonstudentassessment.pm:1.128
--- loncom/interface/statistics/lonstudentassessment.pm:1.127	Sun Jan 22 16:11:59 2006
+++ loncom/interface/statistics/lonstudentassessment.pm	Sat Jan 28 14:25:59 2006
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonstudentassessment.pm,v 1.127 2006/01/22 21:11:59 bowersj2 Exp $
+# $Id: lonstudentassessment.pm,v 1.128 2006/01/28 19:25:59 bowersj2 Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1144,7 +1144,7 @@
             ! defined($formula_data{$symb}->{'Excel:endcell'})) {
             $formula_data{$symb}->{'Excel:endcell'} = $formula_data{$symb}->{'Excel:startcell'};
         }
-        # =IF(COUNT(B31:L31);SUM(B31:L31);"")
+
         my $start = $formula_data{$symb}->{'Excel:startcell'};
         my $end = $formula_data{$symb}->{'Excel:endcell'};
         $formula_data{$symb}->{'Excel:sum'}= $excel_sheet->store_formula
@@ -1233,7 +1233,7 @@
                     $weight = 1;
                     if ($chosen_output->{'scores'}) {
                         $weight = &Apache::lonnet::EXT
-                            ('resource.'.$part.'.weight',$resource->{'symb'},
+                            ('resource.'.$part.'.weight',$resource->symb,
                              undef,undef,undef);
                         if (!defined($weight) || ($weight eq '')) { 
                             $weight=1;