aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_register.php
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2009-06-25 08:26:51 +0000
committerHenry Sudhof <kellanved@phpbb.com>2009-06-25 08:26:51 +0000
commitb4c17b3732659991e979b989327fe375a9218df0 (patch)
treea03534c732bbc7936a908edd4b6657f110f15a6b /phpBB/includes/ucp/ucp_register.php
parent9c795870f9c8d5569365d9df9cc7207988dcb609 (diff)
downloadforums-b4c17b3732659991e979b989327fe375a9218df0.tar
forums-b4c17b3732659991e979b989327fe375a9218df0.tar.gz
forums-b4c17b3732659991e979b989327fe375a9218df0.tar.bz2
forums-b4c17b3732659991e979b989327fe375a9218df0.tar.xz
forums-b4c17b3732659991e979b989327fe375a9218df0.zip
We have to use the documented API
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9672 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/ucp/ucp_register.php')
-rw-r--r--phpBB/includes/ucp/ucp_register.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/ucp/ucp_register.php b/phpBB/includes/ucp/ucp_register.php
index aa3e00685e..8192f5489b 100644
--- a/phpBB/includes/ucp/ucp_register.php
+++ b/phpBB/includes/ucp/ucp_register.php
@@ -230,7 +230,7 @@ class ucp_register
if ($config['enable_confirm'])
{
- if (!$captcha->solved)
+ if (!$captcha->is_solved())
{
$error[] = $vc_response;
}
@@ -453,7 +453,7 @@ class ucp_register
$confirm_image = '';
// Visual Confirmation - Show images
- if ($config['enable_confirm'] && !$captcha->solved)
+ if ($config['enable_confirm'] && !$captcha->is_solved())
{
$template->assign_vars(array(
'L_CONFIRM_EXPLAIN' => sprintf($user->lang['CONFIRM_EXPLAIN'], '<a href="mailto:' . htmlspecialchars($config['board_contact']) . '">', '</a>'),