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

[livejournal] r20769: LJSUP-10737: Displayed error for owner j...

Committer: anazarov
LJSUP-10737: Displayed error for owner journal in ?mode=reply page
U   trunk/cgi-bin/LJ/Talk.pm
Modified: trunk/cgi-bin/LJ/Talk.pm
===================================================================
--- trunk/cgi-bin/LJ/Talk.pm	2011-12-13 06:41:13 UTC (rev 20768)
+++ trunk/cgi-bin/LJ/Talk.pm	2011-12-13 08:58:21 UTC (rev 20769)
@@ -2113,6 +2113,7 @@
         'remote_can_comment'     => $remote_can_comment,
         is_friend                => $is_friend,
         whocanreply              => $journalu->prop('opt_whocanreply'),
+        email_active             => $remote? $remote->is_validated : 0,
 
         # ml variables. it is weird that we've got to pass these to
         # the template, but well, the logic here is considered too

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