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

raeburn raeburn at source.lon-capa.org
Sun Dec 8 20:24:24 EST 2024


raeburn		Mon Dec  9 01:24:24 2024 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/homework	grades.pm 
  Log:
  - For 2.11
    Backport a change in 1.627 omitted from earlier backport (1.596.2.12.2.51)
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.596.2.12.2.62 loncom/homework/grades.pm:1.596.2.12.2.63
--- loncom/homework/grades.pm:1.596.2.12.2.62	Wed Jul  3 13:12:44 2024
+++ loncom/homework/grades.pm	Mon Dec  9 01:24:24 2024
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.596.2.12.2.62 2024/07/03 13:12:44 raeburn Exp $
+# $Id: grades.pm,v 1.596.2.12.2.63 2024/12/09 01:24:24 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -5125,13 +5125,13 @@
                                              $env{'course.'.$env{'request.course.id'}.'.domain'},
                                              $env{'course.'.$env{'request.course.id'}.'.num'},
                                              $domain,$username);
+              $countdone++;
 	   } else {
 	      $request->print("<p><span class=\"LC_error\">".
                               &mt("Failed to save data for student [_1]. Message when trying to save was: [_2]",
                                   "$username:$domain",$result)."</span></p>");
 	   }
 	   $request->rflush();
-	   $countdone++;
         }
     }
     $request->print('<br />'.&Apache::lonhtmlcommon::confirm_success(&mt("Saved scores for [quant,_1,student]",$countdone),$countdone==0));




More information about the LON-CAPA-cvs mailing list