[LON-CAPA-cvs] cvs: rat / lonuserstate.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Tue, 25 Mar 2003 22:50:14 -0000
albertel Tue Mar 25 17:50:14 2003 EDT
Modified files:
/rat lonuserstate.pm
Log:
- better as string comparison
Index: rat/lonuserstate.pm
diff -u rat/lonuserstate.pm:1.56 rat/lonuserstate.pm:1.57
--- rat/lonuserstate.pm:1.56 Mon Mar 17 13:07:09 2003
+++ rat/lonuserstate.pm Tue Mar 25 17:50:14 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Construct and maintain state and binary representation of course for user
#
-# $Id: lonuserstate.pm,v 1.56 2003/03/17 18:07:09 albertel Exp $
+# $Id: lonuserstate.pm,v 1.57 2003/03/25 22:50:14 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -97,7 +97,7 @@
my $instr=&Apache::lonnet::getfile($fn);
- unless ($instr == -1) {
+ unless ($instr eq -1) {
# Successfully got file, parse it