[LON-CAPA-cvs] cvs: loncom /interface loncoursedata.pm
matthew
lon-capa-cvs@mail.lon-capa.org
Tue, 30 Sep 2003 15:47:41 -0000
matthew Tue Sep 30 11:47:41 2003 EDT
Modified files:
/loncom/interface loncoursedata.pm
Log:
Should be 'okay', not simply not begin with 'error'.
Index: loncom/interface/loncoursedata.pm
diff -u loncom/interface/loncoursedata.pm:1.95 loncom/interface/loncoursedata.pm:1.96
--- loncom/interface/loncoursedata.pm:1.95 Tue Sep 30 11:45:57 2003
+++ loncom/interface/loncoursedata.pm Tue Sep 30 11:47:40 2003
@@ -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 @@
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]);
}