Типа я (zilogic) wrote in changelog,
Типа я
zilogic
changelog

[livejournal] r19730: LJSUP-9519: Error when reply in a A Stur...

Committer: amyshkin
LJSUP-9519: Error when reply in a A Sturdy Gesture style
U   trunk/cgi-bin/LJ/Talk.pm
Modified: trunk/cgi-bin/LJ/Talk.pm
===================================================================
--- trunk/cgi-bin/LJ/Talk.pm	2011-08-16 01:17:58 UTC (rev 19729)
+++ trunk/cgi-bin/LJ/Talk.pm	2011-08-16 03:37:05 UTC (rev 19730)
@@ -1972,7 +1972,7 @@
         'entry_url'              => $entry->url,
         'nocomments'             => $entry->prop('opt_nocomments'),
         'suspended'              => $entry->is_suspended_for($remote),
-        'deleted'                => $remote->is_deleted || $remote->is_expunged,
+        'deleted'                => $remote ? $remote->is_deleted || $remote->is_expunged : 0,
         'will_be_screened'       => $entry->prop('opt_screening'),
 
         # various checks

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