--- loncom/homework/inputtags.pm 2011/03/07 19:42:21 1.282 +++ loncom/homework/inputtags.pm 2011/03/07 21:37:59 1.283 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # input definitons # -# $Id: inputtags.pm,v 1.282 2011/03/07 19:42:21 www Exp $ +# $Id: inputtags.pm,v 1.283 2011/03/07 21:37:59 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1269,8 +1269,7 @@ sub setgradedata { $Apache::lonhomework::results{"resource.$id.previous"} = '0'; } } - } elsif ( $Apache::lonhomework::history{"resource.$id.solved"} =~ - /^correct/ ) { + } elsif ( $Apache::lonhomework::history{"resource.$id.awarded"} == 1 ) { #delete all data as they student already has it correct &removealldata($id); #and since they didn't do anything we were never here