--- loncom/interface/loncoursedata.pm 2003/09/30 15:35:56 1.94 +++ loncom/interface/loncoursedata.pm 2003/09/30 15:45:57 1.95 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: loncoursedata.pm,v 1.94 2003/09/30 15:35:56 matthew Exp $ +# $Id: loncoursedata.pm,v 1.95 2003/09/30 15:45:57 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1353,8 +1353,10 @@ sub update_student_data { my @Results = &store_student_data($sname,$sdom,$courseid,\%student_data); # # Set the students update time - &Apache::lonmysql::replace_row($studentdata_table, + if ($Results[0] !~ /^error/) { + &Apache::lonmysql::replace_row($studentdata_table, [$student_id,$time_of_retrieval,undef,undef,undef]); + } # return @Results; }