diff options
author | Henry Sudhof <kellanved@phpbb.com> | 2009-06-13 14:09:51 +0000 |
---|---|---|
committer | Henry Sudhof <kellanved@phpbb.com> | 2009-06-13 14:09:51 +0000 |
commit | 11dc41063313d62b100c16bceb289b12c7c3bf2b (patch) | |
tree | fc951aec5ce030c8bfab86071e2163bebf968988 /phpBB/includes/acp/acp_captcha.php | |
parent | cf3aad78cf902def95335f1e4bb7603126cd9221 (diff) | |
download | forums-11dc41063313d62b100c16bceb289b12c7c3bf2b.tar forums-11dc41063313d62b100c16bceb289b12c7c3bf2b.tar.gz forums-11dc41063313d62b100c16bceb289b12c7c3bf2b.tar.bz2 forums-11dc41063313d62b100c16bceb289b12c7c3bf2b.tar.xz forums-11dc41063313d62b100c16bceb289b12c7c3bf2b.zip |
Oh right. PHP4
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9581 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/acp_captcha.php')
-rw-r--r-- | phpBB/includes/acp/acp_captcha.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/includes/acp/acp_captcha.php b/phpBB/includes/acp/acp_captcha.php index 7c7a5acc9f..74e0521e12 100644 --- a/phpBB/includes/acp/acp_captcha.php +++ b/phpBB/includes/acp/acp_captcha.php @@ -43,7 +43,7 @@ class acp_captcha // Delegate if ($configure) { - $config_captcha = phpbb_captcha_factory::get_instance($selected); + $config_captcha =& phpbb_captcha_factory::get_instance($selected); $config_captcha->acp_page($id, $this); add_log('admin', 'LOG_CONFIG_VISUAL'); } @@ -78,11 +78,11 @@ class acp_captcha // sanity check if (isset($captchas['available'][$selected])) { - $old_captcha = phpbb_captcha_factory::get_instance($config['captcha_plugin']); + $old_captcha =& phpbb_captcha_factory::get_instance($config['captcha_plugin']); $old_captcha->uninstall(); set_config('captcha_plugin', $selected); - $new_captcha = phpbb_captcha_factory::get_instance($config['captcha_plugin']); + $new_captcha =& phpbb_captcha_factory::get_instance($config['captcha_plugin']); $new_captcha->install(); add_log('admin', 'LOG_CONFIG_VISUAL'); @@ -113,7 +113,7 @@ class acp_captcha $captcha_select .= '<option value="' . $value . '"' . $current . ' class="disabled-option">' . $user->lang[$title] . '</option>'; } - $demo_captcha = phpbb_captcha_factory::get_instance($selected); + $demo_captcha =& phpbb_captcha_factory::get_instance($selected); foreach ($config_vars as $config_var => $template_var) { @@ -135,7 +135,7 @@ class acp_captcha { global $db, $user, $config; - $captcha = phpbb_captcha_factory::get_instance($selected); + $captcha =& phpbb_captcha_factory::get_instance($selected); $captcha->init(CONFIRM_REG); $captcha->execute_demo(); |