--- loncom/homework/caparesponse/caparesponse.pm 2005/12/01 18:46:48 1.182 +++ loncom/homework/caparesponse/caparesponse.pm 2005/12/01 22:30:55 1.183 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # caparesponse definition # -# $Id: caparesponse.pm,v 1.182 2005/12/01 18:46:48 albertel Exp $ +# $Id: caparesponse.pm,v 1.183 2005/12/01 22:30:55 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -517,7 +517,7 @@ sub end_numericalresponse { if ($ad ne 'EXACT_ANS' && $ad ne 'APPROX_ANS') { my $error; if ($tag eq 'formularesponse') { - $error=&mt('Computer\'s answer is incorrect ("[_1]").'); + $error=&mt('Computer\'s answer is incorrect ("[_1]").',$response); } else { # answer failed check if it is sig figs that is failing my ($ad,$msg)=&check_submission($response,$partid,$id,