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