wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r18098: LJSUP-7775. can't get invite

Committer: gprochaev
LJSUP-7775. can't get invite

U   trunk/cgi-bin/communitylib.pl
Modified: trunk/cgi-bin/communitylib.pl
===================================================================
--- trunk/cgi-bin/communitylib.pl	2011-01-25 07:03:25 UTC (rev 18097)
+++ trunk/cgi-bin/communitylib.pl	2011-01-25 07:42:28 UTC (rev 18098)
@@ -177,10 +177,10 @@
     }
     my $flag_set_owner_error = 0;
     foreach (keys %edgelist) {
-        unless (not ($is_super && $poll && !$poll->is_closed && $args->{$_} eq 'A')) {
+        if ($poll && $is_super && !$poll->is_closed && $args->{$_} eq 'A') {
+            $flag_set_owner_error = 1;
+        } else {
             LJ::set_rel($cu->{userid}, $u->{userid}, $edgelist{$_}) if $args->{$_};
-        } else {
-            $flag_set_owner_error = 1;
         }
     }
 

Tags: livejournal, pl, wisest-owl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments