Diff for /loncom/homework/lonhomework.pm between versions 1.324 and 1.325

version 1.324, 2011/02/12 01:36:21 version 1.325, 2011/03/07 19:42:21
Line 438  sub check_access { Line 438  sub check_access {
  # if (correct and show prob status) or excused then CANNOT_ANSWER   # if (correct and show prob status) or excused then CANNOT_ANSWER
  if(($Apache::lonhomework::history{"resource.$id.solved"}=~/^correct/   if(($Apache::lonhomework::history{"resource.$id.solved"}=~/^correct/
     &&      &&
     &show_problem_status())      &show_problem_status()
               &&
               $Apache::lonhomework::history{"resource.$id.awarded"}==1)
    ||     ||
    $Apache::lonhomework::history{"resource.$id.solved"}=~/^excused/) {     $Apache::lonhomework::history{"resource.$id.solved"}=~/^excused/) {
     $status = 'CANNOT_ANSWER';      $status = 'CANNOT_ANSWER';

Removed from v.1.324  
changed lines
  Added in v.1.325


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