[LON-CAPA-cvs] cvs: loncom(version_1_2_X) /homework lonhomework.pm

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 29 Sep 2004 06:50:31 -0000


albertel		Wed Sep 29 02:50:31 2004 EDT

  Modified files:              (Branch: version_1_2_X)
    /loncom/homework	lonhomework.pm 
  Log:
  - need to check interval due date, when problem is correct or excused
  
  
Index: loncom/homework/lonhomework.pm
diff -u loncom/homework/lonhomework.pm:1.178.2.1 loncom/homework/lonhomework.pm:1.178.2.2
--- loncom/homework/lonhomework.pm:1.178.2.1	Mon Sep 27 14:38:33 2004
+++ loncom/homework/lonhomework.pm	Wed Sep 29 02:50:31 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Homework handler
 #
-# $Id: lonhomework.pm,v 1.178.2.1 2004/09/27 18:38:33 albertel Exp $
+# $Id: lonhomework.pm,v 1.178.2.2 2004/09/29 06:50:31 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -292,7 +292,7 @@
 	    $status = 'CANNOT_ANSWER';
 	}
     }
-    if ($status eq 'CAN_ANSWER') {
+    if ($status eq 'CAN_ANSWER' || $status eq 'CANNOT_ANSWER') {
 	my $interval=&Apache::lonnet::EXT("resource.$id.interval");
 	&Apache::lonxml::debug("looking for interval $interval");
 	if ($interval) {