Alexander Nazarov (nfokz) wrote in changelog,
Alexander Nazarov
nfokz
changelog

[livejournal] r20768: LJSUP-10734: Need view error bubble for ...

Committer: anazarov
LJSUP-10734: Need view error bubble for suspended users
U   trunk/cgi-bin/LJ/Talk.pm
Modified: trunk/cgi-bin/LJ/Talk.pm
===================================================================
--- trunk/cgi-bin/LJ/Talk.pm	2011-12-13 06:34:39 UTC (rev 20767)
+++ trunk/cgi-bin/LJ/Talk.pm	2011-12-13 06:41:13 UTC (rev 20768)
@@ -2098,7 +2098,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: anazarov, livejournal, nfokz, 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