[LON-CAPA-cvs] cvs: loncom /homework inputtags.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Tue, 23 Sep 2003 15:59:53 -0000
albertel Tue Sep 23 11:59:53 2003 EDT
Modified files:
/loncom/homework inputtags.pm
Log:
- eq not ne
Index: loncom/homework/inputtags.pm
diff -u loncom/homework/inputtags.pm:1.118 loncom/homework/inputtags.pm:1.119
--- loncom/homework/inputtags.pm:1.118 Tue Sep 23 11:43:39 2003
+++ loncom/homework/inputtags.pm Tue Sep 23 11:59:53 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# input definitons
#
-# $Id: inputtags.pm,v 1.118 2003/09/23 15:43:39 albertel Exp $
+# $Id: inputtags.pm,v 1.119 2003/09/23 15:59:53 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -518,7 +518,7 @@
} 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"} =