--- loncom/homework/matchresponse.pm 2003/01/28 00:11:49 1.1 +++ loncom/homework/matchresponse.pm 2003/02/20 08:57:51 1.2 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Full matching style response # -# $Id: matchresponse.pm,v 1.1 2003/01/28 00:11:49 albertel Exp $ +# $Id: matchresponse.pm,v 1.2 2003/02/20 08:57:51 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -101,7 +101,7 @@ sub end_itemgroup { if (!defined(@{ $Apache::response::itemgroup{'names'} })) { return; } my @names=@{ $Apache::response::itemgroup{'names'} }; my $randomize =&Apache::lonxml::get_param('randomize',$parstack,$safeeval); - if ($randomize != 'no' ) { + if ($randomize ne 'no' ) { @names=&Math::Random::random_permutation(@names); } my %letter_name_map;