--- loncom/html/adm/helper/newslot.helper 2006/04/24 23:23:18 1.15
+++ loncom/html/adm/helper/newslot.helper 2006/05/09 19:06:07 1.16
@@ -290,11 +290,13 @@
if ( $helper->{'VARS'}{'proctor'} =~/\S/ ) {
my @names;
+ # just need the username/domain throw away the other data
+ # that returns
foreach my $user (split(/\|\|\|/, $helper->{'VARS'}{'proctor'})) {
my ($uname,$udomain)=split(/:/,$user);
- push(@names,"$uname\@$udomain");
+ push(@names,"$uname:$udomain");
}
- # make sure the usenrmaes are unique
+ # make sure the usernmaes are unique
my %proctors = map { ($_,1) } @names;
$slot{'proctor'}=join(',',sort(keys(%proctors)));
}
@@ -306,8 +308,9 @@
}
if ( $helper->{'VARS'}{'allowedusers'} =~/\S/ ) {
-
my @names;
+ # just need the username/domain throw away the other data
+ # that returns
foreach my $item (split(/\|\|\|/,
$helper->{'VARS'}{'allowedusers'})) {
my ($uname,$udomain)=split(/:/,$item);