--- loncom/homework/structuretags.pm 2002/09/04 02:48:31 1.111 +++ loncom/homework/structuretags.pm 2002/09/05 03:30:27 1.112 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.111 2002/09/04 02:48:31 albertel Exp $ +# $Id: structuretags.pm,v 1.112 2002/09/05 03:30:27 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -393,8 +393,8 @@ sub end_problem { $result.= $gradestatus; } if ( - (($target eq 'web' || $target eq 'tex') && ($ENV{'request.state'} ne 'construct')) || - ($target eq 'answer') + (($target eq 'web') && ($ENV{'request.state'} ne 'construct')) || + ($target eq 'answer') || ($target eq 'tex') ) { if ($status eq 'CAN_ANSWER') { if ($target ne 'tex') {