--- loncom/homework/hint.pm 2009/06/28 19:40:41 1.76 +++ loncom/homework/hint.pm 2010/11/13 03:22:58 1.77 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # implements the tags that control the hints # -# $Id: hint.pm,v 1.76 2009/06/28 19:40:41 www Exp $ +# $Id: hint.pm,v 1.77 2010/11/13 03:22:58 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -81,6 +81,10 @@ sub start_hintgroup { } } @Apache::hint::which=(); + if (($#Apache::functionplotresponse::failedrules>=0) && ($target eq 'web')) { + @Apache::hint::which=@Apache::functionplotresponse::failedrules; + undef @Apache::functionplotresponse::failedrules; + } return $result; }