--- rat/lonuserstate.pm 2003/03/17 18:07:09 1.56 +++ rat/lonuserstate.pm 2003/03/25 22:50:14 1.57 @@ -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 @@ sub loadmap { my $instr=&Apache::lonnet::getfile($fn); - unless ($instr == -1) { + unless ($instr eq -1) { # Successfully got file, parse it