--- loncom/homework/optionresponse.pm 2002/07/29 20:43:47 1.44 +++ loncom/homework/optionresponse.pm 2002/08/05 15:55:39 1.45 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # option list style responses # -# $Id: optionresponse.pm,v 1.44 2002/07/29 20:43:47 albertel Exp $ +# $Id: optionresponse.pm,v 1.45 2002/08/05 15:55:39 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -273,7 +273,7 @@ sub displayfoils { my @falselist; my $result; my $name; - $Apache::optionresponse::displayoptionintex=0; + my $displayoptionintex=0; my @whichopt = &whichfoils($max); my $part=$Apache::inputtags::part; my $id=$Apache::inputtags::response[-1]; @@ -305,17 +305,17 @@ sub displayfoils { ."\n".$Apache::response::foilgroup{$name.'.text'}."\n"; $temp++; } else { - if ($Apache::optionresponse::displayoptionintex == 0) { - my $durtyoptionlist = $optionlist; - $durtyoptionlist =~ s/