--- loncom/homework/radiobuttonresponse.pm 2005/06/21 21:00:55 1.101 +++ loncom/homework/radiobuttonresponse.pm 2005/06/22 12:03:23 1.102 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # mutliple choice style responses # -# $Id: radiobuttonresponse.pm,v 1.101 2005/06/21 21:00:55 albertel Exp $ +# $Id: radiobuttonresponse.pm,v 1.102 2005/06/22 12:03:23 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -607,7 +607,7 @@ sub end_foil { my $value = &Apache::lonxml::get_param('value',$parstack,$safeeval); if ($value ne 'unused') { my $name = &Apache::lonxml::get_param('name',$parstack,$safeeval); - if (!$name) { + if ($name eq "") { &Apache::lonxml::warning("Foils without names exist. This can cause problems to malfunction."); $name=$Apache::lonxml::curdepth; }