--- loncom/homework/structuretags.pm 2006/04/20 19:08:41 1.332.2.3 +++ loncom/homework/structuretags.pm 2006/06/24 01:33:40 1.332.2.4 @@ -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 @@ sub init_problem_globals { @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 @@ sub reset_problem_globals { #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 {