--- loncom/homework/bridgetask.pm 2006/11/09 20:20:18 1.198 +++ loncom/homework/bridgetask.pm 2006/11/09 20:42:43 1.199 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: bridgetask.pm,v 1.198 2006/11/09 20:20:18 albertel Exp $ +# $Id: bridgetask.pm,v 1.199 2006/11/09 20:42:43 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1009,7 +1009,12 @@ sub end_Task { if (!$previous && $status ne 'SHOW_ANSWER' && &show_task($status,$previous)) { $result.=&Apache::inputtags::gradestatus('0'); - $result.=''; + } + + $result.=''; + + if (!$previous && $status ne 'SHOW_ANSWER' && + &show_task($status,$previous)) { my $action = &Apache::lonenc::check_encrypt($env{'request.uri'}); $result.=<