[LON-CAPA-cvs] cvs: modules /msu localenroll.pm

raeburn raeburn at source.lon-capa.org
Wed Sep 8 19:36:58 EDT 2021


raeburn		Wed Sep  8 23:36:58 2021 EDT

  Modified files:              
    /modules/msu	localenroll.pm 
  Log:
  - No i modifier needed for match on numeric string.
  
  
Index: modules/msu/localenroll.pm
diff -u modules/msu/localenroll.pm:1.83 modules/msu/localenroll.pm:1.84
--- modules/msu/localenroll.pm:1.83	Wed Sep  8 23:33:00 2021
+++ modules/msu/localenroll.pm	Wed Sep  8 23:36:58 2021
@@ -1,6 +1,6 @@
 # functions to glue school database system into Lon-CAPA for
 # automated enrollment
-# $Id: localenroll.pm,v 1.83 2021/09/08 23:33:00 raeburn Exp $
+# $Id: localenroll.pm,v 1.84 2021/09/08 23:36:58 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2089,7 +2089,7 @@
                     $resultshash->{$item} = 0;
                 }
             } elsif ($item eq 'emplID') {
-                if ($id =~ /^1\d{8}$/i) {
+                if ($id =~ /^1\d{8}$/) {
                     $resultshash->{$item} = 1; 
                 } else {
                     $resultshash->{$item} = 0;




More information about the LON-CAPA-cvs mailing list