--- loncom/homework/grades.pm 2004/09/24 21:08:27 1.204.2.4 +++ loncom/homework/grades.pm 2004/09/24 21:09:52 1.204.2.5 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.204.2.4 2004/09/24 21:08:27 albertel Exp $ +# $Id: grades.pm,v 1.204.2.5 2004/09/24 21:09:52 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -4471,7 +4471,8 @@ sub scantron_validate_CODE { $line,'incorrectCODE',\%allcodes); return(1,$currentphase); } - if (exists($usedCODEs{$CODE}) && $ENV{'form.scantron_CODEunique'} + if (exists($usedCODEs{$CODE}) + && $ENV{'form.scantron_CODEunique'} eq 'yes' && !$$scan_record{'scantron.CODE_ignore_dup'}) { &scantron_get_correction($r,$i,$scan_record, \%scantron_config,