--- loncom/interface/statistics/lonstudentassessment.pm 2003/06/24 21:44:09 1.64 +++ 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.64 2003/06/24 21:44:09 albertel 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) {