Первый фоллен на хелле (wildkin) wrote in changelog,
Первый фоллен на хелле
wildkin
changelog

[livejournal] r19176: LJSUP-8929: Users should view other frie...

Committer: dnikolaev
LJSUP-8929: Users should view other friends pages without owner tag settings

U   trunk/cgi-bin/ljlib.pl
Modified: trunk/cgi-bin/ljlib.pl
===================================================================
--- trunk/cgi-bin/ljlib.pl	2011-05-30 10:59:06 UTC (rev 19175)
+++ trunk/cgi-bin/ljlib.pl	2011-05-31 06:34:23 UTC (rev 19176)
@@ -885,7 +885,9 @@
 
     my $friends_tags = undef;
     if ($opts->{'filter_by_tags'} && !$opts->{'friendsoffriends'}) {
-        if ($opts->{u} && !$opts->{u}->is_identity()) {
+        if ($opts->{u} &&
+            $opts->{u}->id() == $remoteid)
+        {
             $friends_tags = LJ::FriendsTags->load($opts->{u});
         }
     }

Tags: livejournal, pl, wildkin
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