--- loncom/homework/structuretags.pm 2003/10/08 16:35:04 1.213 +++ loncom/homework/structuretags.pm 2003/10/24 21:04:21 1.218 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.213 2003/10/08 16:35:04 albertel Exp $ +# $Id: structuretags.pm,v 1.218 2003/10/24 21:04:21 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -400,7 +400,8 @@ sub start_problem { if (( $status eq 'CLOSED' ) || ( $status eq 'UNCHECKEDOUT') || ( $status eq 'BANNED') || - ( $status eq 'UNAVAILABLE')) { + ( $status eq 'UNAVAILABLE') || + ( $status eq 'INVALID_ACCESS')) { my $bodytext=&Apache::lonxml::get_all_text("/problem",$parser); if ( $target eq "web" ) { $result.= $head_tag_start.''; @@ -410,7 +411,7 @@ sub start_problem { } else { $result.='