Return to lonhomework.pm CVS log | Up to [LON-CAPA] / loncom / homework |
version 1.115, 2003/03/11 18:43:08 | version 1.116, 2003/03/25 22:51:48 |
---|---|
Line 422 sub editxmlmode { | Line 422 sub editxmlmode { |
my ($request,$file) = @_; | my ($request,$file) = @_; |
my $result; | my $result; |
my $problem=&Apache::lonnet::getfile($file); | my $problem=&Apache::lonnet::getfile($file); |
if ($problem == -1) { | if ($problem eq -1) { |
&Apache::lonxml::error("<b> Unable to find <i>$file</i></b>"); | &Apache::lonxml::error("<b> Unable to find <i>$file</i></b>"); |
$problem=''; | $problem=''; |
} | } |