aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_captcha.php
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2009-08-14 10:00:30 +0000
committerHenry Sudhof <kellanved@phpbb.com>2009-08-14 10:00:30 +0000
commit918e66758795f744092fce2d423f6d43bb00b7c0 (patch)
tree9b69d7771084ac7f96838984ce08131cf246976c /phpBB/includes/acp/acp_captcha.php
parent52250a33b49c406681fdf6cd93609c53ba108d87 (diff)
downloadforums-918e66758795f744092fce2d423f6d43bb00b7c0.tar
forums-918e66758795f744092fce2d423f6d43bb00b7c0.tar.gz
forums-918e66758795f744092fce2d423f6d43bb00b7c0.tar.bz2
forums-918e66758795f744092fce2d423f6d43bb00b7c0.tar.xz
forums-918e66758795f744092fce2d423f6d43bb00b7c0.zip
#49675 #49655 - ATTENTION: small captcha API change
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9975 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/acp_captcha.php')
-rw-r--r--phpBB/includes/acp/acp_captcha.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_captcha.php b/phpBB/includes/acp/acp_captcha.php
index c3588ceb9e..6e86f412fb 100644
--- a/phpBB/includes/acp/acp_captcha.php
+++ b/phpBB/includes/acp/acp_captcha.php
@@ -67,7 +67,6 @@ class acp_captcha
if ($submit && check_form_key($form_key))
{
- $config_vars = array_keys($config_vars);
foreach ($config_vars as $config_var => $options)
{
set_config($config_var, request_var($config_var, $options['default']));
@@ -122,6 +121,7 @@ class acp_captcha
$template->assign_vars(array(
'CAPTCHA_PREVIEW_TPL' => $demo_captcha->get_demo_template($id),
+ 'S_CAPTCHA_HAS_CONFIG' => $demo_captcha->has_config(),
'CAPTCHA_SELECT' => $captcha_select,
));
}