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

[livejournal] r19757: 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-17 08:43:43 UTC (rev 19756)
+++ trunk/cgi-bin/LJ/Talk.pm	2011-08-17 08:49:57 UTC (rev 19757)
@@ -1973,7 +1973,7 @@
         'nocomments'             => $entry->prop('opt_nocomments') || ( $journalu ? $journalu->{opt_showtalklinks} : 0),
         '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: 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