--- loncom/homework/response.pm 2007/03/15 02:52:16 1.160 +++ loncom/homework/response.pm 2007/04/07 00:42:29 1.161 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # various response type definitons response definition # -# $Id: response.pm,v 1.160 2007/03/15 02:52:16 albertel Exp $ +# $Id: response.pm,v 1.161 2007/04/07 00:42:29 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -697,7 +697,7 @@ sub setup_params { if ($env{'request.state'} eq 'construct') { return; } my %paramlist=(); foreach my $key (keys(%Apache::lonnet::packagetab)) { - if ($key =~ /^$tag/) { + if ($key =~ /^\Q$tag\E/) { my ($package,$name) = split(/&/,$key); $paramlist{$name}=1; }