--- loncom/homework/response.pm 2006/12/04 20:35:06 1.150 +++ loncom/homework/response.pm 2006/12/04 21:12:57 1.151 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # various response type definitons response definition # -# $Id: response.pm,v 1.150 2006/12/04 20:35:06 www Exp $ +# $Id: response.pm,v 1.151 2006/12/04 21:12:57 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -516,14 +516,8 @@ sub end_mathresponse { my $award = &Apache::run::run('{ my $submission=$LONCAPA::mathresponse_submission;'.$Apache::response::custom_answer.'}',$safeeval); if (!&Apache::inputtags::valid_award($award)) { - if ($award==1) { - $award='EXACT_ANS'; - } elsif ($award==0) { - $award='INCORRECT'; - } else { - $error = $award; - $award = 'ERROR'; - } + $error = $award; + $award = 'ERROR'; } &Apache::response::handle_previous(\%previous,$award); $Apache::lonhomework::results{"resource.$part.$id.awarddetail"}=