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

[livejournal] r20808: LJSUP-10744: Username need be bold in co...

Committer: anazarov
LJSUP-10744: Username need be bold in commenting form
U   trunk/cgi-bin/LJ/Talk.pm
Modified: trunk/cgi-bin/LJ/Talk.pm
===================================================================
--- trunk/cgi-bin/LJ/Talk.pm	2011-12-19 11:22:31 UTC (rev 20807)
+++ trunk/cgi-bin/LJ/Talk.pm	2011-12-19 11:38:33 UTC (rev 20808)
@@ -2100,7 +2100,7 @@
         'nocomments'             => $entry->prop('opt_nocomments'),
         'suspended'              => $remote? $remote->is_suspended : 0,
         'deleted'                => $remote ? $remote->is_deleted || $remote->is_expunged : 0,
-        'will_be_screened'       => $entry->prop('opt_screening'),
+        will_be_screened         => $entry->prop('opt_screening')  || ($journalu? $journalu->prop("opt_whoscreened")  : 0),
 
         # various checks
         'remote_banned'          => LJ::is_banned( $remote, $journalu ),

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