--- loncom/homework/rankresponse.pm 2005/06/21 21:00:55 1.47 +++ loncom/homework/rankresponse.pm 2005/06/22 12:03:23 1.48 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # rank style response # -# $Id: rankresponse.pm,v 1.47 2005/06/21 21:00:55 albertel Exp $ +# $Id: rankresponse.pm,v 1.48 2005/06/22 12:03:23 albertel Exp $ # Copyright Michigan State University Board of Trustees # # This file is part of the LearningOnline Network with CAPA (LON-CAPA). @@ -428,7 +428,7 @@ sub end_foil { if ($value ne 'unused') { my $name = &Apache::lonxml::get_param('name',$parstack,$safeeval); &Apache::lonxml::debug("Got a name of :$name:"); - if (!$name) { + if ($name eq "") { &Apache::lonxml::warning("Foils without names exist. This can cause problems to malfunction."); $name=$Apache::lonxml::curdepth; }