--- loncom/html/adm/helper/newslot.helper 2005/11/02 22:07:52 1.7
+++ loncom/html/adm/helper/newslot.helper 2005/11/02 22:14:53 1.8
@@ -229,7 +229,9 @@
my ($uname,$udomain)=split(/:/,$user);
push(@names,"$uname\@$udomain");
}
- $slot{'proctor'}=join(',',@names);
+ # make sure the usenrmaes are unique
+ my %proctors = map { ($_,1) } @names;
+ $slot{'proctor'}=join(',',sort(keys(%proctors)));
}
my $cname = $env{'course.'.$env{'request.course.id'}.'.num'};
my $cdom = $env{'course.'.$env{'request.course.id'}.'.domain'};