--- loncom/interface/statistics/lonstudentassessment.pm 2003/06/24 19:23:45 1.63
+++ loncom/interface/statistics/lonstudentassessment.pm 2003/10/03 15:37:29 1.65.2.1
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: lonstudentassessment.pm,v 1.63 2003/06/24 19:23:45 matthew Exp $
+# $Id: lonstudentassessment.pm,v 1.65.2.1 2003/10/03 15:37:29 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -138,7 +138,10 @@ Inputs:
#######################################################
sub BuildStudentAssessmentPage {
my ($r,$c)=@_;
+
undef($Statistics);
+
+ $single_student_mode = 0;
$single_student_mode = 1 if ($ENV{'form.SelectedStudent'});
if ($ENV{'form.selectstudent'}) {
&Apache::lonstatistics::DisplayClasslist($r);
@@ -191,6 +194,9 @@ sub BuildStudentAssessmentPage {
# are immediately reflected in the chart.
&Apache::lonnet::clear_EXT_cache_status();
#
+ # Clean out loncoursedata's package data, just to be safe.
+ &Apache::loncoursedata::clear_internal_caches();
+ #
# Call the initialize routine selected above
$initialize->($r);
foreach my $student (@Students) {
@@ -1428,7 +1434,7 @@ sub StudentTriesOnSequence {
$symbol = ''.$symbol.'';
}
$value .= $symbol;
@@ -1528,7 +1534,7 @@ sub StudentPerformanceOnSequence {
$symbol = ''.$symbol.'';
}
$Str .= $symbol;