Diff for /loncom/homework/lonhomework.pm between versions 1.115 and 1.117

version 1.115, 2003/03/11 18:43:08 version 1.117, 2003/03/25 23:07:07
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='';
   }    }
Line 478  sub renderpage { Line 478  sub renderpage {
   foreach my $target (@targets) {    foreach my $target (@targets) {
     #my $t0 = [&gettimeofday()];      #my $t0 = [&gettimeofday()];
     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='';
     }      }

Removed from v.1.115  
changed lines
  Added in v.1.117


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>