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

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 05 Sep 2003 02:31:49 -0000


albertel		Thu Sep  4 22:31:49 2003 EDT

  Modified files:              
    /loncom/homework	structuretags.pm 
  Log:
  - BUG#2068, multiple problems in one file are not a good idea, and I was too tricky for my own good, now commenting my trickyness.
  
  
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.207 loncom/homework/structuretags.pm:1.208
--- loncom/homework/structuretags.pm:1.207	Fri Aug 29 22:33:25 2003
+++ loncom/homework/structuretags.pm	Thu Sep  4 22:31:49 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: structuretags.pm,v 1.207 2003/08/30 02:33:25 albertel Exp $
+# $Id: structuretags.pm,v 1.208 2003/09/05 02:31:49 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -306,7 +306,9 @@
     undef(%Apache::lonhomework::history);
     undef(%Apache::lonhomework::results);
     undef($Apache::inputtags::part);
-    undef($Apache::lonhomework::parsing_a_problem);
+#don't undef this, lonhomework.pm takes care of this, we use this to 
+#detect if we try to do 2 problems in one file
+#   undef($Apache::lonhomework::parsing_a_problem);
     undef($Apache::lonhomework::name);
 }