[LON-CAPA-cvs] cvs: loncom /interface lonpopulate.pm

raeburn raeburn at source.lon-capa.org
Thu Aug 15 12:51:02 EDT 2013


raeburn		Thu Aug 15 16:51:02 2013 EDT

  Modified files:              
    /loncom/interface	lonpopulate.pm 
  Log:
  - Correct a couple of changes in rev 1.74.
  
  
Index: loncom/interface/lonpopulate.pm
diff -u loncom/interface/lonpopulate.pm:1.77 loncom/interface/lonpopulate.pm:1.78
--- loncom/interface/lonpopulate.pm:1.77	Mon Jul 22 18:06:51 2013
+++ loncom/interface/lonpopulate.pm	Thu Aug 15 16:51:02 2013
@@ -1,5 +1,5 @@
 # automated enrollment configuration handler
-# $Id: lonpopulate.pm,v 1.77 2013/07/22 18:06:51 bisitz Exp $
+# $Id: lonpopulate.pm,v 1.78 2013/08/15 16:51:02 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2356,7 +2356,7 @@
 	}
     }
 
-    if ($putreply ne 'ok') {
+    if ($putreply eq 'ok') {
 	$response = &mt('Students enrolling in the sections listed below will be automatically added to the class roster for LON-CAPA course [_1], if you have chosen to enable a nightly automated enrollment update.',
                         "$realm ($coursecode)").'<br /><ul>'."\n";
 	foreach my $section (@allsections) {
@@ -3034,7 +3034,7 @@
     unless ( $caller eq 'chgsettings') {
         if ( (!$curradds) && (!$currdrops) ) {
             $warning .= '<li>'.
-                &mt('You [_1]must[_2] now use [_3]Automated adds/drops[_4] to enable automated adds and/or drops if you want automatic enrollment updates to occur in this course.','<b>','</b>','<a href="/adm/populate?action=chgsettings">').'</li>';
+                &mt('You [_1]must[_2] now use [_3]Automated adds/drops[_4] to enable automated adds and/or drops if you want automatic enrollment updates to occur in this course.','<b>','</b>','<a href="/adm/populate?action=chgsettings">','</a>').'</li>';
         }
     }
     if ($warning) {




More information about the LON-CAPA-cvs mailing list