Committer: akanashin
LJSUP-12322: Do not display captcha if user has social capital more than 15U 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,