[LON-CAPA-cvs] cvs: loncom /enrollment Enrollment.pm

raeburn raeburn at source.lon-capa.org
Sun Jun 18 18:29:01 EDT 2017


raeburn		Sun Jun 18 22:29:01 2017 EDT

  Modified files:              
    /loncom/enrollment	Enrollment.pm 
  Log:
  - First unexpired student appears on a new line (i.e., separated from preamble). 
  
  
Index: loncom/enrollment/Enrollment.pm
diff -u loncom/enrollment/Enrollment.pm:1.49 loncom/enrollment/Enrollment.pm:1.50
--- loncom/enrollment/Enrollment.pm:1.49	Sun Jul 24 14:35:15 2016
+++ loncom/enrollment/Enrollment.pm	Sun Jun 18 22:29:01 2017
@@ -1,5 +1,5 @@
 # Automated Enrollment manager
-# $Id: Enrollment.pm,v 1.49 2016/07/24 14:35:15 raeburn Exp $
+# $Id: Enrollment.pm,v 1.50 2017/06/18 22:29:01 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -479,9 +479,9 @@
                     if ($autofailsafe < scalar(@{$delaydrops{$class}})) {
                         $$logmsg .= &mt('The following students were not expired from the old section [_1] because the enrollment count retrieved for that institutional section was zero, and the number of students with roles to expire exceeded the failsafe threshold of [_2]:',$class,$autofailsafe);
                         if ($context eq "updatenow") {
-                            $$logmsg .= join('<br />',@{$delaydrops{$class}}).$linefeed; 
+                            $$logmsg .= '<br />'.join('<br />',@{$delaydrops{$class}}).$linefeed; 
                         } elsif ($context eq "automated") {
-                            $$logmsg .= join($linefeed,@{$delaydrops{$class}}).$linefeed;
+                            $$logmsg .= $linefeed.join($linefeed,@{$delaydrops{$class}}).$linefeed;
                         }
                     } else {
                         foreach my $uname (@{$delaydrops{$class}}) {




More information about the LON-CAPA-cvs mailing list