[LON-CAPA-cvs] cvs: loncom /homework response.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Mon, 27 Sep 2004 22:47:49 -0000
albertel Mon Sep 27 18:47:49 2004 EDT
Modified files:
/loncom/homework response.pm
Log:
- backwards
Index: loncom/homework/response.pm
diff -u loncom/homework/response.pm:1.104 loncom/homework/response.pm:1.105
--- loncom/homework/response.pm:1.104 Fri Sep 24 15:44:00 2004
+++ loncom/homework/response.pm Mon Sep 27 18:47:49 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# various response type definitons response definition
#
-# $Id: response.pm,v 1.104 2004/09/24 19:44:00 albertel Exp $
+# $Id: response.pm,v 1.105 2004/09/27 22:47:49 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -533,9 +533,9 @@
$response;
if ($resulttype ne 'letter') {
if ($resulttype eq 'A is 1') {
- $response = $let_to_num{$response};
- } else {
$response = $let_to_num{$response}+1;
+ } else {
+ $response = $let_to_num{$response};
}
}
} else {