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

albertel lon-capa-cvs@mail.lon-capa.org
Sat, 24 Jun 2006 01:33:40 -0000


albertel		Fri Jun 23 21:33:40 2006 EDT

  Modified files:              (Branch: version_2_1_X)
    /loncom/homework	structuretags.pm 
  Log:
  - backport 1.358
  
  
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.332.2.3 loncom/homework/structuretags.pm:1.332.2.4
--- loncom/homework/structuretags.pm:1.332.2.3	Thu Apr 20 15:08:41 2006
+++ loncom/homework/structuretags.pm	Fri Jun 23 21:33:40 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: structuretags.pm,v 1.332.2.3 2006/04/20 19:08:41 albertel Exp $
+# $Id: structuretags.pm,v 1.332.2.4 2006/06/24 01:33:40 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -492,7 +492,9 @@
     @Apache::structuretags::whileline=();
     $Apache::lonhomework::scantronmode=0;
     undef($Apache::lonhomework::name);
-
+    undef($Apache::lonhomework::default_type);
+    undef($Apache::lonhomework::type);
+    undef($Apache::lonhomework::problemstatus);
 }
 
 sub reset_problem_globals {
@@ -504,6 +506,11 @@
 #detect if we try to do 2 problems in one file
 #   undef($Apache::lonhomework::parsing_a_problem);
     undef($Apache::lonhomework::name);
+    undef($Apache::lonhomework::default_type);
+    undef($Apache::lonhomework::type);
+    undef($Apache::lonhomework::scantronmode);
+    undef($Apache::lonhomework::problemstatus);
+    undef($Apache::lonhomework::ignore_response_errors);
 }
 
 sub set_problem_state {