Committer: gprochaev
LJSUP-7764. New members during the electionU trunk/cgi-bin/communitylib.pl
Modified: trunk/cgi-bin/communitylib.pl =================================================================== --- trunk/cgi-bin/communitylib.pl 2011-01-26 08:03:50 UTC (rev 18111) +++ trunk/cgi-bin/communitylib.pl 2011-01-26 09:04:20 UTC (rev 18112) @@ -177,7 +177,7 @@ } my $flag_set_owner_error = 0; foreach (keys %edgelist) { - if ($poll && $is_super && !$poll->is_closed && $args->{$_} eq 'A') { + if ($poll && $is_super && !$poll->is_closed && $_ eq 'admin') { $flag_set_owner_error = 1; } else { LJ::set_rel($cu->{userid}, $u->{userid}, $edgelist{$_}) if $args->{$_};