--- loncom/homework/grades.pm 2006/02/27 02:06:52 1.319 +++ loncom/homework/grades.pm 2006/02/27 19:40:21 1.320 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.319 2006/02/27 02:06:52 bowersj2 Exp $ +# $Id: grades.pm,v 1.320 2006/02/27 19:40:21 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1421,7 +1421,7 @@ sub gradeBox { 'problem weight assigned by computer'); $wgt = ($wgt > 0 ? $wgt : '1'); my $score = ($$record{'resource.'.$partid.'.awarded'} eq '' ? - '' : compute_points($$record{'resource.'.$partid.'.awarded'},$wgt)); + '' : &compute_points($$record{'resource.'.$partid.'.awarded'},$wgt)); my $result=''."\n"; $result.='
'.$partid.' - '.$respid.'
'; my $display_part=&get_display_part($partid,undef,$symb); @@ -2893,7 +2893,7 @@ sub viewstudentgrade { $aggregates{$part} = 1; } if ($type eq 'awarded') { - my $pts = $score eq '' ? '' : compute_points($score,$$weight{$part}); + my $pts = $score eq '' ? '' : &compute_points($score,$$weight{$part}); $result.=''."\n"; $result.='