[LON-CAPA-cvs] cvs: loncom /interface lonnavmaps.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Thu, 29 Dec 2005 18:54:31 -0000
albertel Thu Dec 29 13:54:31 2005 EDT
Modified files:
/loncom/interface lonnavmaps.pm
Log:
- forward port 1.349.2.5
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.356 loncom/interface/lonnavmaps.pm:1.357
--- loncom/interface/lonnavmaps.pm:1.356 Thu Dec 29 13:09:32 2005
+++ loncom/interface/lonnavmaps.pm Thu Dec 29 13:54:30 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Navigate Maps Handler
#
-# $Id: lonnavmaps.pm,v 1.356 2005/12/29 18:09:32 albertel Exp $
+# $Id: lonnavmaps.pm,v 1.357 2005/12/29 18:54:30 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -530,9 +530,8 @@
if ($status == $res->PAST_DUE_NO_ANSWER) {
return &mt("Was due")." " . timeToHumanString($res->duedate($part),'end');
}
- if ($status == $res->ANSWER_OPEN
- || ($status == $res->PARTIALLY_CORRECT
- && $res->handgrade($part) ne 'yes')) {
+ if (($status == $res->ANSWER_OPEN || $status == $res->PARTIALLY_CORRECT)
+ && $res->handgrade($part) ne 'yes') {
return &mt("Answer available");
}
if ($status == $res->EXCUSED) {