--- loncom/interface/statistics/lonstudentassessment.pm 2005/02/25 02:37:49 1.112 +++ loncom/interface/statistics/lonstudentassessment.pm 2005/02/25 19:17:44 1.113 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonstudentassessment.pm,v 1.112 2005/02/25 02:37:49 matthew Exp $ +# $Id: lonstudentassessment.pm,v 1.113 2005/02/25 19:17:44 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -686,7 +686,7 @@ sub html_initialize { 0,0,0); $starttime = Time::HiRes::time; foreach my $res (@resources) { - my @parts = $res->parts; + my @parts = @{$res->parts}; $width{$symb}->{'width_parts'} += scalar(@parts); } &Apache::lonnet::logthis('2elapsed:'.(Time::HiRes::time-$starttime)); $width{$symb}->{'width_problem'} +=