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

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


albertel		Wed Sep 29 02:51:25 2004 EDT

  Modified files:              
    /loncom/homework	lonhomework.pm 
  Log:
  - forward port 1.178.2.2
  
  
Index: loncom/homework/lonhomework.pm
diff -u loncom/homework/lonhomework.pm:1.180 loncom/homework/lonhomework.pm:1.181
--- loncom/homework/lonhomework.pm:1.180	Mon Sep 27 14:36:53 2004
+++ loncom/homework/lonhomework.pm	Wed Sep 29 02:51:25 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Homework handler
 #
-# $Id: lonhomework.pm,v 1.180 2004/09/27 18:36:53 albertel Exp $
+# $Id: lonhomework.pm,v 1.181 2004/09/29 06:51:25 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) {