mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 03:34:04 +02:00
Add some data for akismet et al
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9702 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -772,7 +772,12 @@ if ($submit || $preview || $refresh)
|
||||
|
||||
if ($config['enable_post_confirm'] && !$user->data['is_registered'] && in_array($mode, array('quote', 'post', 'reply')))
|
||||
{
|
||||
$vc_response = $captcha->validate();
|
||||
$captcha_data = array(
|
||||
'message' => utf8_normalize_nfc(request_var('message', '', true)),
|
||||
'subject' => utf8_normalize_nfc(request_var('subject', '', true)),
|
||||
'username' => utf8_normalize_nfc(request_var('username', '', true)),
|
||||
);
|
||||
$vc_response = $captcha->validate($captcha_data);
|
||||
if ($vc_response)
|
||||
{
|
||||
$error[] = $vc_response;
|
||||
|
Reference in New Issue
Block a user