--- loncom/homework/matchresponse.pm 2011/11/08 01:33:14 1.84 +++ loncom/homework/matchresponse.pm 2011/11/29 13:24:38 1.85 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Full matching style response # -# $Id: matchresponse.pm,v 1.84 2011/11/08 01:33:14 raeburn Exp $ +# $Id: matchresponse.pm,v 1.85 2011/11/29 13:24:38 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -30,6 +30,7 @@ package Apache::matchresponse; use strict; use HTML::Entities(); use Math::Random(); +use Apache::inputtags(); use Apache::optionresponse(); use Apache::lonlocal; use Apache::lonnet; @@ -462,7 +463,7 @@ sub grade_response { } } my $part=$Apache::inputtags::part; - my $nonlenient=&Apache::optionresponse::is_nonlenient($part); + my $nonlenient=&Apache::inputtags::grading_is_nonlenient($part); my $id = $Apache::inputtags::response['-1']; my $responsestr=&Apache::lonnet::hash2str(%responsehash); my $itemstr =&Apache::lonnet::array2str(@items);