--- loncom/homework/structuretags.pm 2003/09/19 21:38:15 1.211 +++ loncom/homework/structuretags.pm 2003/10/03 15:27:02 1.212 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.211 2003/09/19 21:38:15 albertel Exp $ +# $Id: structuretags.pm,v 1.212 2003/10/03 15:27:02 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1004,7 +1004,9 @@ sub end_part { } elsif (($target eq 'web' || $target eq 'tex') && !$hidden ) { my $gradestatus=&Apache::inputtags::gradestatus($Apache::inputtags::part, $target); - if ($Apache::lonhomework::type eq 'exam') {$gradestatus='';} + if ($Apache::lonhomework::type eq 'exam' && $target eq 'tex') { + $gradestatus=''; + } $result=$gradestatus; } elsif ($target eq 'edit') { $result=&Apache::edit::end_table();