[LON-CAPA-cvs] cvs: loncom /homework grades.pm

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 24 Sep 2004 21:09:33 -0000


albertel		Fri Sep 24 17:09:33 2004 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  - ugh, how abut we check the valeu
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.213 loncom/homework/grades.pm:1.214
--- loncom/homework/grades.pm:1.213	Fri Sep 24 16:32:02 2004
+++ loncom/homework/grades.pm	Fri Sep 24 17:09:33 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.213 2004/09/24 20:32:02 albertel Exp $
+# $Id: grades.pm,v 1.214 2004/09/24 21:09:33 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4480,7 +4480,8 @@
 				     $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,