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

raeburn lon-capa-cvs@mail.lon-capa.org
Fri, 04 Nov 2005 21:34:06 -0000


raeburn		Fri Nov  4 16:34:06 2005 EDT

  Modified files:              
    /loncom/interface	lonpopulate.pm 
  Log:
  Fix bug 4441.
  
  
Index: loncom/interface/lonpopulate.pm
diff -u loncom/interface/lonpopulate.pm:1.30 loncom/interface/lonpopulate.pm:1.31
--- loncom/interface/lonpopulate.pm:1.30	Fri Nov  4 16:32:13 2005
+++ loncom/interface/lonpopulate.pm	Fri Nov  4 16:34:05 2005
@@ -1,5 +1,5 @@
 # automated enrollment configuration handler
-# $Id: lonpopulate.pm,v 1.30 2005/11/04 21:32:13 raeburn Exp $
+# $Id: lonpopulate.pm,v 1.31 2005/11/04 21:34:05 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -665,7 +665,7 @@
           for (my $i=0; $i<@xlists; $i++) {
               my $xl = '&nbsp;';
               my $gp = '&nbsp;';
-              if ($xlists[$i] =~ /(\w+):?(.*)$/) {
+              if ($xlists[$i] =~ /^([^:]+):?(.*)$/) {
                   $xl = $1;
                   $gp = $2;
               }