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

raeburn lon-capa-cvs-allow@mail.lon-capa.org
Mon, 04 Feb 2008 17:45:08 -0000


raeburn		Mon Feb  4 12:45:08 2008 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  Eliminate double declaration for $last.
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.505 loncom/homework/grades.pm:1.506
--- loncom/homework/grades.pm:1.505	Mon Feb  4 08:46:35 2008
+++ loncom/homework/grades.pm	Mon Feb  4 12:45:07 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.505 2008/02/04 13:46:35 raeburn Exp $
+# $Id: grades.pm,v 1.506 2008/02/04 17:45:07 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -6762,7 +6762,7 @@
 	    $first   = $first_bubble_line{$question-1} + 1;
 	    $count   = $bubble_lines_per_response{$question-1};
         }
-        my $last = $first+$count-1;
+        $last = $first+$count-1;
         push(@lines, ($first..$last));
     }
     return join(',', @lines);