--- loncom/homework/lonhomework.pm 2003/03/25 22:51:48 1.116 +++ loncom/homework/lonhomework.pm 2003/03/25 23:07:07 1.117 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Homework handler # -# $Id: lonhomework.pm,v 1.116 2003/03/25 22:51:48 albertel Exp $ +# $Id: lonhomework.pm,v 1.117 2003/03/25 23:07:07 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -478,7 +478,7 @@ sub renderpage { foreach my $target (@targets) { #my $t0 = [&gettimeofday()]; my $problem=&Apache::lonnet::getfile($file); - if ($problem == -1) { + if ($problem eq -1) { &Apache::lonxml::error(" Unable to find $file"); $problem=''; }