--- loncom/interface/lonstatistics.pm 2002/08/13 12:21:46 1.42 +++ loncom/interface/lonstatistics.pm 2002/08/13 15:01:07 1.43 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # (Publication Handler # -# $Id: lonstatistics.pm,v 1.42 2002/08/13 12:21:46 stredwic Exp $ +# $Id: lonstatistics.pm,v 1.43 2002/08/13 15:01:07 stredwic Exp $ # # Copyright Michigan State University Board of Trustees # @@ -577,7 +577,11 @@ sub BuildStatistics { &Apache::lonproblemanalysis::BuildAnalyzePage($cacheDB, $students, $courseID, $r); } elsif($GoToPage eq 'DoDiffGraph' || $GoToPage eq 'PercentWrongGraph') { - &Apache::lonproblemstatistics::BuildGraphicChart($GoToPage,$r,$cacheDB); + my $courseDescription = $ENV{'course.'.$courseID.'.description'}; + $courseDescription =~ s/\ /"_"/eg; + &Apache::lonproblemstatistics::BuildGraphicChart($GoToPage, $cacheDB, + $courseDescription, + $r); } elsif($GoToPage eq 'Class list') { &BuildClasslist($cacheDB, $students, \@studentInformation, \@headings, $r);