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

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 07 Mar 2003 23:43:21 -0000


albertel		Fri Mar  7 18:43:21 2003 EDT

  Modified files:              
    /loncom/homework	lonhomework.pm 
  Log:
  - really want to make sure this gets unset while not parsing
  
  
Index: loncom/homework/lonhomework.pm
diff -u loncom/homework/lonhomework.pm:1.112 loncom/homework/lonhomework.pm:1.113
--- loncom/homework/lonhomework.pm:1.112	Wed Feb 26 17:22:20 2003
+++ loncom/homework/lonhomework.pm	Fri Mar  7 18:43:21 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Homework handler
 #
-# $Id: lonhomework.pm,v 1.112 2003/02/26 22:22:20 albertel Exp $
+# $Id: lonhomework.pm,v 1.113 2003/03/07 23:43:21 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -483,7 +483,7 @@
     &Apache::lonxml::debug("Should be parsing now");
     $result = &Apache::lonxml::xmlparse($request, $target, $problem,
 			&setup_vars($target),%mystyle);
-
+    undef($Apache::lonhomework::parsing_a_problem);
     #$request->print("Result follows:");
     if ($target eq 'modified') {
       &handle_save_or_undo($request,\$problem,\$result);