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

raeburn raeburn@source.lon-capa.org
Wed, 17 Jun 2009 18:41:31 -0000


raeburn		Wed Jun 17 18:41:31 2009 EDT

  Modified files:              (Branch: version_2_8_X)
    /loncom/homework	grades.pm 
  Log:
  - Reverse one change in backports included in 1.528.2.11.
    - Change to pass @resources by reference (in 1.554) to &grade_student_bubbles() should not be part of 2.8.X.
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.528.2.13 loncom/homework/grades.pm:1.528.2.14
--- loncom/homework/grades.pm:1.528.2.13	Sat Jun  6 19:26:50 2009
+++ loncom/homework/grades.pm	Wed Jun 17 18:41:31 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.528.2.13 2009/06/06 19:26:50 raeburn Exp $
+# $Id: grades.pm,v 1.528.2.14 2009/06/17 18:41:31 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -7649,7 +7649,7 @@
             if ($studentrecord ne $studentdata) {
                 &Apache::lonxml::clear_problem_counter();
                 if (&grade_student_bubbles($r,$uname,$udom,$scan_record,$scancode,
-                                           \@resources) eq 'ssi_error') {
+                                           @resources) eq 'ssi_error') {
                     $ssi_error = 0; # So end of handler error message does not trigger.
                     $r->print("</form>");
                     &ssi_print_error($r);