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

raeburn raeburn at source.lon-capa.org
Fri Jan 17 20:44:48 EST 2014


raeburn		Sat Jan 18 01:44:48 2014 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  - Correction to change in rev. 1.691.
    - Bubble line number in corrections interface was being incorrectly 
      incremented by 1 for problems with multiple responseitems in cases 
      where neither randompick nor randomorder were in use.
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.713 loncom/homework/grades.pm:1.714
--- loncom/homework/grades.pm:1.713	Thu Jan 16 14:57:51 2014
+++ loncom/homework/grades.pm	Sat Jan 18 01:44:47 2014
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.713 2014/01/16 14:57:51 bisitz Exp $
+# $Id: grades.pm,v 1.714 2014/01/18 01:44:47 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -7589,7 +7589,7 @@
             }
         } else {
             $responsenum = $question-1;
-            $first = $first_bubble_line{$responsenum} + 1;
+            $first = $first_bubble_line{$responsenum};
         }
         $current_line = $first + 1 ;
         my @subans = split(/,/,$subdivided_bubble_lines{$responsenum});




More information about the LON-CAPA-cvs mailing list