Committer: wisest-owl
LJSUP-14485: If identity is not an administrator in not at least one comm, leave only identity usernameU trunk/cgi-bin/weblib.pl
Modified: trunk/cgi-bin/weblib.pl =================================================================== --- trunk/cgi-bin/weblib.pl 2012-12-06 11:17:33 UTC (rev 23429) +++ trunk/cgi-bin/weblib.pl 2012-12-06 11:22:17 UTC (rev 23430) @@ -185,7 +185,7 @@ my @list = LJ::get_authas_list($u, $opts); # only do most of form if there are options to select from - shift @list if $opts->{'remove_self'}; + shift @list if @list > 1 && $opts->{'remove_self'}; if (@list > 1 || $list[0] ne $u->{'user'}) { my $ret; my $label = $BML::ML{'web.authas.label'};