holyandrew� (holyandrew) wrote in changelog,
holyandrew�
holyandrew
changelog

[livejournal] r22135: LJSUP-12322: Do not display captcha if u...

Committer: akanashin
LJSUP-12322: Do not display captcha if user has social capital more than 15
U   trunk/cgi-bin/LJ/Talk.pm
Modified: trunk/cgi-bin/LJ/Talk.pm
===================================================================
--- trunk/cgi-bin/LJ/Talk.pm	2012-05-31 12:03:56 UTC (rev 22134)
+++ trunk/cgi-bin/LJ/Talk.pm	2012-05-31 12:30:37 UTC (rev 22135)
@@ -2193,7 +2193,7 @@
         captcha_public           => LJ::conf_test( $LJ::RECAPTCHA{'public_key'} ),
 
         need_captcha             => $opts->{'do_captcha'},
-        commentcaptcha           => $journalu->prop("opt_show_captcha_to"),
+        commentcaptcha           => $captcha_html ? $journalu->prop("opt_show_captcha_to") : '',
         notaspammer              => $remote? LJ::is_friend($LJ::NOTASPAMMERS_COMM_UID, $remote) : 0,
 
         'captcha_html'              => $captcha_html,

Tags: akanashin, holyandrew, livejournal, 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