mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 04:04:12 +02:00
We have to use the documented API
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9672 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -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>'),
|
||||
|
Reference in New Issue
Block a user