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

albertel lon-capa-cvs-allow@mail.lon-capa.org
Mon, 28 May 2007 22:51:31 -0000


albertel		Mon May 28 18:51:31 2007 EDT

  Modified files:              
    /loncom/homework	structuretags.pm 
  Log:
  - reenable to timeout check on <while>
  
  
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.377 loncom/homework/structuretags.pm:1.378
--- loncom/homework/structuretags.pm:1.377	Wed May 23 18:36:21 2007
+++ loncom/homework/structuretags.pm	Mon May 28 18:51:29 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: structuretags.pm,v 1.377 2007/05/23 22:36:21 albertel Exp $
+# $Id: structuretags.pm,v 1.378 2007/05/28 22:51:29 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1226,7 +1226,7 @@
 	while ($return) {
 	    if (time-$starttime >
 		$Apache::lonnet::perlvar{'lonScriptTimeout'}) {
-		#$return = 0; $error=1; next;
+		$return = 0; $error=1; next;
 	    }
 	    $result.=&Apache::scripttag::xmlparse($bodytext);
 	    $return = &Apache::run::run($code,$safeeval);