diff options
author | Dhruv <dhruv.goel92@gmail.com> | 2013-06-22 04:07:21 +0530 |
---|---|---|
committer | Dhruv <dhruv.goel92@gmail.com> | 2013-07-01 21:49:04 +0530 |
commit | 4ad1d9aa6530ebe1d554909a978b9ee124377625 (patch) | |
tree | 20a8fe8064252930c7ccc1f8269f397b3eaec731 | |
parent | 88b5180aa11ba90f37d598737bb46a054382042f (diff) | |
download | forums-4ad1d9aa6530ebe1d554909a978b9ee124377625.tar forums-4ad1d9aa6530ebe1d554909a978b9ee124377625.tar.gz forums-4ad1d9aa6530ebe1d554909a978b9ee124377625.tar.bz2 forums-4ad1d9aa6530ebe1d554909a978b9ee124377625.tar.xz forums-4ad1d9aa6530ebe1d554909a978b9ee124377625.zip |
[ticket/11566] Use the new constant CONFIRM_REPORT for captcha init
PHPBB3-11566
-rw-r--r-- | phpBB/includes/constants.php | 1 | ||||
-rw-r--r-- | phpBB/report.php | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index 17c25ee3c6..ad5b43bc9a 100644 --- a/phpBB/includes/constants.php +++ b/phpBB/includes/constants.php @@ -157,6 +157,7 @@ define('PHYSICAL_LINK', 2); define('CONFIRM_REG', 1); define('CONFIRM_LOGIN', 2); define('CONFIRM_POST', 3); +define('CONFIRM_REPORT', 4); // Categories - Attachments define('ATTACHMENT_CATEGORY_NONE', 0); diff --git a/phpBB/report.php b/phpBB/report.php index 4fecaf4046..f89a18fa8e 100644 --- a/phpBB/report.php +++ b/phpBB/report.php @@ -137,7 +137,7 @@ if ($config['enable_post_confirm'] && !$user->data['is_registered']) { include($phpbb_root_path . 'includes/captcha/captcha_factory.' . $phpEx); $captcha =& phpbb_captcha_factory::get_instance($config['captcha_plugin']); - $captcha->init(CONFIRM_POST); + $captcha->init(CONFIRM_REPORT); } $error = array(); |