Diff for /loncom/homework/lonhomework.pm between versions 1.165 and 1.166

version 1.165, 2004/02/16 17:20:39 version 1.166, 2004/02/16 18:40:52
Line 201  sub check_access { Line 201  sub check_access {
     my $passed;      my $passed;
   
     if ($ENV{'request.state'} eq "construct") {      if ($ENV{'request.state'} eq "construct") {
  if (defined($ENV{'form.problemstatus'})) {   if ($ENV{'form.problemstatus'}) {
     if ($ENV{'form.problemstate'} =~ /^CANNOT_ANSWER/) {      if ($ENV{'form.problemstate'} =~ /^CANNOT_ANSWER/) {
  return ('CANNOT_ANSWER','is in this state by royal decree.');   return ('CANNOT_ANSWER','is in this state by royal decree.');
     } else {      } else {

Removed from v.1.165  
changed lines
  Added in v.1.166


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