vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r20205: LJSV-1836: Error 500 showed on friends p...

Committer: vad
LJSV-1836: Error 500 showed on friends pages when opened it unauthorized
U   trunk/cgi-bin/ljviews.pl
Modified: trunk/cgi-bin/ljviews.pl
===================================================================
--- trunk/cgi-bin/ljviews.pl	2011-10-03 23:54:47 UTC (rev 20204)
+++ trunk/cgi-bin/ljviews.pl	2011-10-04 01:39:03 UTC (rev 20205)
@@ -1878,7 +1878,7 @@
         my $subject    = $logtext->{$datakey}->[0];
         my $event      = $logtext->{$datakey}->[1];
 
-        if ( $logprops{$datakey}->{'repost'} && $remote->prop('hidefriendsreposts') && ! $remote->prop('opt_ljcut_disable_friends') ) {
+        if ( $logprops{$datakey}->{'repost'} && $remote && $remote->prop('hidefriendsreposts') && ! $remote->prop('opt_ljcut_disable_friends') ) {
             $event = LJ::Lang::ml(
                 'friendsposts.reposted',
                 {

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