--- loncom/homework/rankresponse.pm 2003/11/15 06:28:02 1.27 +++ loncom/homework/rankresponse.pm 2004/02/09 19:38:00 1.28 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # rank style response # -# $Id: rankresponse.pm,v 1.27 2003/11/15 06:28:02 albertel Exp $ +# $Id: rankresponse.pm,v 1.28 2004/02/09 19:38:00 albertel Exp $ # Copyright Michigan State University Board of Trustees # # This file is part of the LearningOnline Network with CAPA (LON-CAPA). @@ -191,7 +191,7 @@ sub grade_response { if (!defined($ENV{'form.submitted'})) { return; } my %responsehash; my %grade; - my ($temp,$right,$wrong,$ignored)=(0,0,0,0); + my ($temp,$right,$wrong,$ignored)=(1,0,0,0); my @correctorder=&get_correct_order($tol,@whichfoils); foreach my $name (@whichfoils) { my $response = &Apache::response::getresponse($temp);