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

[livejournal] r19802: 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-22 07:18:09 UTC (rev 19801)
+++ trunk/cgi-bin/LJ/Talk.pm	2011-08-22 07:33:57 UTC (rev 19802)
@@ -1982,12 +1982,13 @@
         'journalu_username'      => $journalu->username,
         'editid'                 => $editid,
         'entry_url'              => $entry->url,
-        'nocomments'             => $entry->prop('opt_nocomments') || ( $journalu ? $journalu->{opt_showtalklinks} : 0),
+        'nocomments'             => $entry->prop('opt_nocomments') || ( $journalu ? $journalu->prop("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') || ( $journalu ? $journalu->prop("opt_whoscreened") : 0),
         'is_friend'              => $remote ? $journalu->is_friend($remote) : 0,
         'email_active'           => $remote ? $remote->is_validated : 0,
+        'whocanreply'            => $journalu->prop("opt_whocanreply"),
 
         # 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