Diff for /loncom/homework/lonhomework.pm between versions 1.167 and 1.168

version 1.167, 2004/02/16 19:19:31 version 1.168, 2004/02/16 20:30:34
Line 205  sub check_access { Line 205  sub check_access {
     if ($ENV{'form.problemstate'} =~ /^CANNOT_ANSWER/) {      if ($ENV{'form.problemstate'} =~ /^CANNOT_ANSWER/) {
  if ( ! ($ENV{'form.problemstate'} eq 'CANNOT_ANSWER_correct' &&   if ( ! ($ENV{'form.problemstate'} eq 'CANNOT_ANSWER_correct' &&
  lc($Apache::lonhomework::problemstatus) eq 'no')) {   lc($Apache::lonhomework::problemstatus) eq 'no')) {
     return ('CANNOT_ANSWER','is in this state by royal decree.');      return ('CANNOT_ANSWER',
       &mt('is in this state by royal decree.'));
  }   }
     } else {      } else {
  return ($ENV{'form.problemstate'},   return ($ENV{'form.problemstate'},
  'is in this state by royal decree.');   &mt('is in this state by royal decree.'));
     }      }
  }   }
  &Apache::lonxml::debug("in construction ignoring dates");   &Apache::lonxml::debug("in construction ignoring dates");

Removed from v.1.167  
changed lines
  Added in v.1.168


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