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

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 04 Apr 2005 18:13:16 -0000


albertel		Mon Apr  4 14:13:16 2005 EDT

  Modified files:              
    /loncom/homework	lonhomework.pm 
  Log:
  - bridgetask need not look for a slot in CSTR
  
  
Index: loncom/homework/lonhomework.pm
diff -u loncom/homework/lonhomework.pm:1.202 loncom/homework/lonhomework.pm:1.203
--- loncom/homework/lonhomework.pm:1.202	Thu Mar 31 10:56:13 2005
+++ loncom/homework/lonhomework.pm	Mon Apr  4 14:13:16 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Homework handler
 #
-# $Id: lonhomework.pm,v 1.202 2005/03/31 15:56:13 albertel Exp $
+# $Id: lonhomework.pm,v 1.203 2005/04/04 18:13:16 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -230,7 +230,9 @@
 	$status eq 'UNAVAILABLE') {
 	return ($status,$datemsg);
     }
-
+    if ($ENV{'request.state'} eq "construct") {
+	return ($status,$datemsg);
+    }
     
     my ($id)=@_;
     my @slots=split(':',&Apache::lonnet::EXT("resource.$id.available"));