1 <SELECT NAME="usernum">
3 % unless ( $opt{'multiple'} || $opt{'disable_empty'} ) {
4 <OPTION VALUE="">all</OPTION>
7 % foreach my $usernum (
8 % sort { $opt{'access_user'}->{$a} cmp $opt{'access_user'}->{$b} }
9 % keys %{ $opt{'access_user'} }
11 <OPTION VALUE="<%$usernum%>"><% $opt{'access_user'}->{$usernum} %></OPTION>
20 $opt{'access_user'} ||= $FS::CurrentUser::CurrentUser->access_users_hashref();