--- loncom/homework/optionresponse.pm 2001/08/13 21:44:24 1.23
+++ loncom/homework/optionresponse.pm 2001/09/13 19:55:02 1.24
@@ -197,7 +197,7 @@ sub displayfoils {
foreach $option (@opt) {
$optionlist.="\n";
}
- if ($Apache::lonhomework::history{"resource.$Apache::inputtags::part.solved"} =~ /^correct/ ) {
+ if (($Apache::lonhomework::history{"resource.$Apache::inputtags::part.solved"} =~ /^correct/) || ($Apache::inputtags::status[-1] eq 'SHOW_ANSWER')) {
foreach $name (@whichopt) {
$result.="
".$Apache::response::foilgroup{$name.'.value'}.
":".$Apache::response::foilgroup{$name.'.text'}."\n";