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

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


albertel		Fri Sep 24 17:08:27 2004 EDT

  Modified files:              (Branch: version_1_2_X)
    /loncom/homework	grades.pm 
  Log:
   backport 1.213
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.204.2.3 loncom/homework/grades.pm:1.204.2.4
--- loncom/homework/grades.pm:1.204.2.3	Thu Sep 16 13:48:05 2004
+++ loncom/homework/grades.pm	Fri Sep 24 17:08:27 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.204.2.3 2004/09/16 17:48:05 albertel Exp $
+# $Id: grades.pm,v 1.204.2.4 2004/09/24 21:08:27 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4638,9 +4638,10 @@
 		$form{'CODE'}=$scan_record->{'scantron.CODE'};
 	    }
 	    my $result=&Apache::lonnet::ssi($resource->src(),%form);
-
+	    if (&Apache::loncommon::connection_aborted($r)) { last; }
 	}
 	$completedstudents{$uname}={'line'=>$line};
+	if (&Apache::loncommon::connection_aborted($r)) { last; }
     } continue {
 	&Apache::lonnet::delenv('form.counter');
 	&Apache::lonnet::delenv('scantron\.');