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

[livejournal] r20942: LJSUP-10815. Minor fix

Committer: gprochaev
LJSUP-10815. Minor fix

U   trunk/cgi-bin/LJ/User.pm
Modified: trunk/cgi-bin/LJ/User.pm
===================================================================
--- trunk/cgi-bin/LJ/User.pm	2012-01-20 08:22:55 UTC (rev 20941)
+++ trunk/cgi-bin/LJ/User.pm	2012-01-20 11:05:15 UTC (rev 20942)
@@ -3828,7 +3828,7 @@
 
     foreach my $comm_name (@LJ::LJPHOTO_ALLOW_FROM_COMMUNITIES) {
         my $comm = LJ::load_user ($comm_name);
-        return 0 unless $comm;
+        next unless $comm;
         return 1 if $u->can_manage ($comm) or $comm->is_friend($u); 
     }
     return 1 if $u->prop ('fotki_migration_status');

Tags: gprochaev, livejournal, pm, 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