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

[livejournal] r19737: LJSUP-8857: Updating commenting form

Committer: amyshkin
LJSUP-8857: Updating commenting form
U   trunk/cgi-bin/LJ/Talk.pm
Modified: trunk/cgi-bin/LJ/Talk.pm
===================================================================
--- trunk/cgi-bin/LJ/Talk.pm	2011-08-16 08:22:17 UTC (rev 19736)
+++ trunk/cgi-bin/LJ/Talk.pm	2011-08-16 08:30:56 UTC (rev 19737)
@@ -1971,7 +1971,7 @@
         'editid'                 => $editid,
         'entry_url'              => $entry->url,
         'nocomments'             => $entry->prop('opt_nocomments'),
-        'suspended'              => $entry->is_suspended_for($remote),
+        'suspended'              => $remote ? $remote->is_suspended : 0,
         'deleted'                => $remote ? $remote->is_deleted || $remote->is_expunged : 0,
         'will_be_screened'       => $entry->prop('opt_screening'),
 

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