--- loncom/homework/inputtags.pm 2003/09/23 15:44:39 1.114.2.2 +++ loncom/homework/inputtags.pm 2003/09/23 16:00:49 1.114.2.3 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # input definitons # -# $Id: inputtags.pm,v 1.114.2.2 2003/09/23 15:44:39 albertel Exp $ +# $Id: inputtags.pm,v 1.114.2.3 2003/09/23 16:00:49 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -517,7 +517,7 @@ sub setgradedata { } elsif ( $award eq 'INCORRECT' ) { $Apache::lonhomework::results{"resource.$id.tries"} = $Apache::lonhomework::history{"resource.$id.tries"} + 1; - if (lc($Apache::lonhomework::problemstatus) ne 'no') { + if (lc($Apache::lonhomework::problemstatus) eq 'no') { $Apache::lonhomework::results{"resource.$id.awarded"} = 0; } $Apache::lonhomework::results{"resource.$id.solved"} =