--- loncom/homework/lonhomework.pm 2002/09/26 16:54:36 1.92 +++ loncom/homework/lonhomework.pm 2002/10/16 19:22:31 1.96 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Homework handler # -# $Id: lonhomework.pm,v 1.92 2002/09/26 16:54:36 bowersj2 Exp $ +# $Id: lonhomework.pm,v 1.96 2002/10/16 19:22:31 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -379,6 +379,7 @@ sub renderpage { my %mystyle; my $result = ''; &Apache::inputtags::initialize_inputtags; + &Apache::inputtags::initialize_outputtags; &Apache::edit::initialize_edit; if ($target eq 'analyze') { %Apache::lonhomework::anaylze=(); } if ($target eq 'web') { @@ -507,6 +508,7 @@ sub handler { my $request=$_[0]; # if ( $ENV{'user.name'} eq 'albertel' ) {$Apache::lonxml::debug=1;} + $Apache::lonxml::debug=$ENV{'user.debug'}; if (&setupheader($request)) { return OK; } $ENV{'request.uri'}=$request->uri;