Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[livejournal] r20190: LJSUP-8061: Add ability to hide reposted...

Committer: gariev
LJSUP-8061: Add ability to hide reposted entries in the friends page.
Bugfix: Error 500 in logged-out homepages

U   trunk/cgi-bin/LJ/S2/FriendsPage.pm
Modified: trunk/cgi-bin/LJ/S2/FriendsPage.pm
===================================================================
--- trunk/cgi-bin/LJ/S2/FriendsPage.pm	2011-09-30 08:56:03 UTC (rev 20189)
+++ trunk/cgi-bin/LJ/S2/FriendsPage.pm	2011-09-30 09:20:34 UTC (rev 20190)
@@ -258,7 +258,7 @@
         my $ditemid = $itemid * 256 + $item->{'anum'};
         my $entry_obj = LJ::Entry->new($friends{$friendid}, ditemid => $ditemid);
 
-        if ( $logprops{$datakey}->{'repost'} && $remote->prop('hidefriendsreposts') && ! $remote->prop('opt_ljcut_disable_friends') ) {
+        if ( $remote && $logprops{$datakey}->{'repost'} && $remote->prop('hidefriendsreposts') && ! $remote->prop('opt_ljcut_disable_friends') ) {
             $text = LJ::Lang::ml(
                 'friendsposts.reposted',
                 {

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