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

www lon-capa-cvs-allow@mail.lon-capa.org
Wed, 09 Jan 2008 14:16:53 -0000


www		Wed Jan  9 09:16:53 2008 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  Bug #5572: Clicker grade assignment second stage not working.
  
  Double assignment of "form.number" resulted in ARRAY(...) reference.
  
  Apparently bad copy/paste job during code cleanup. $%@%@#@!
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.501 loncom/homework/grades.pm:1.502
--- loncom/homework/grades.pm:1.501	Mon Dec 17 06:11:58 2007
+++ loncom/homework/grades.pm	Wed Jan  9 09:16:52 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.501 2007/12/17 11:11:58 foxr Exp $
+# $Id: grades.pm,v 1.502 2008/01/09 14:16:52 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -7956,8 +7956,6 @@
     }
     $result.='<br />'.&mt('Found [_1] question(s)',$number).'<br />'.
              '<input type="hidden" name="number" value="'.$number.'" />'.
-             &mt('Awarding [_1] percent for corrion(s)',$number).'<br />'.
-             '<input type="hidden" name="number" value="'.$number.'" />'.
              &mt('Awarding [_1] percent for correct and [_2] percent for incorrect responses',
                  $env{'form.pcorrect'},$env{'form.pincorrect'}).
              '<br />';