aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/ucp/ucp_register.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_register.php b/phpBB/includes/ucp/ucp_register.php
index f428b4603c..babedd4f12 100644
--- a/phpBB/includes/ucp/ucp_register.php
+++ b/phpBB/includes/ucp/ucp_register.php
@@ -223,7 +223,7 @@ class ucp_register
if ($config['enable_confirm'])
{
$vc_response = $captcha->validate($data);
- if ($vc_response)
+ if ($vc_response !== false)
{
$error[] = $vc_response;
}