--- loncom/homework/response.pm 2002/02/15 22:16:04 1.60 +++ loncom/homework/response.pm 2002/03/14 20:30:36 1.61 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # various response type definitons response definition # -# $Id: response.pm,v 1.60 2002/02/15 22:16:04 albertel Exp $ +# $Id: response.pm,v 1.61 2002/03/14 20:30:36 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -363,7 +363,7 @@ sub start_responseparam { if ($ENV{'request.state'} eq 'construct') { my $name = &Apache::lonxml::get_param('name',$parstack,$safeeval); my $default = &Apache::lonxml::get_param('default',$parstack,$safeeval); - $Apache::inputtags::params{$name}=$default; + if ($name) {$Apache::inputtags::params{$name}=$default;} } } return $result;