--- loncom/interface/lonpopulate.pm 2005/11/04 21:34:05 1.31 +++ loncom/interface/lonpopulate.pm 2005/11/07 15:43:31 1.33 @@ -1,5 +1,5 @@ # automated enrollment configuration handler -# $Id: lonpopulate.pm,v 1.31 2005/11/04 21:34:05 raeburn Exp $ +# $Id: lonpopulate.pm,v 1.33 2005/11/07 15:43:31 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -487,7 +487,6 @@ ENDTWO } elsif ($action eq "notify") { my $notifycount = 0; my @notified = split(/,/,$enrollvar{notifylist}); - my $notifycount = 0; foreach (@notified) { unless ($_ eq '') { $notifycount ++; } } @@ -2105,7 +2104,7 @@ sub print_update_result () { if (@currxlists > 0) { foreach (@currxlists) { - if (m/^(\w+):(\w*)$/) { + if (m/^([^:]+):(\w*)$/) { unless (grep/^$1$/,@allcourses) { push @allcourses,$1; $LC_code{$1} = $2;