--- loncom/homework/response.pm 2012/10/12 12:45:46 1.231 +++ loncom/homework/response.pm 2012/12/18 18:26:41 1.232 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # various response type definitons response definition # -# $Id: response.pm,v 1.231 2012/10/12 12:45:46 raeburn Exp $ +# $Id: response.pm,v 1.232 2012/12/18 18:26:41 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1135,7 +1135,6 @@ sub scored_response { sub whichorder { my ($max,$randomize,$showall,$hash,$rndseed)=@_; #&Apache::lonxml::debug("man $max randomize $randomize"); - if (!defined(@{ $$hash{'names'} })) { return; } my @names; if (ref($hash->{'names'}) eq 'ARRAY') { @names = @{$hash->{'names'}};