--- loncom/interface/lonprintout.pm 2003/04/30 16:29:07 1.132 +++ loncom/interface/lonprintout.pm 2003/04/30 19:07:29 1.134 @@ -1,7 +1,7 @@ # The LearningOnline Network # Printout # -# $Id: lonprintout.pm,v 1.132 2003/04/30 16:29:07 bowersj2 Exp $ +# $Id: lonprintout.pm,v 1.134 2003/04/30 19:07:29 bowersj2 Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1415,7 +1415,7 @@ HELPERFRAGMENT my $isProblemOrMap = '$res->is_problem() || $res->is_map()'; my $symb = '$res->symb();'; &Apache::lonxml::xmlparse($r, 'helper', < + Select problems to print: FINAL @@ -1525,6 +1525,9 @@ sub new { my $self = Apache::lonhelper::element->new(); $self->{'variable'} = shift; + my $helper = Apache::lonhelper::getHelper(); + my $paramHash = Apache::lonhelper::getParamHash(); + $helper->declareVar($paramHash->{'variable'}); bless($self); return $self; }