check changed to allow for undefined lang entries. Proposed by a_jelly_donut

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9898 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Henry Sudhof 2009-07-31 14:05:24 +00:00
parent edc82a6ce7
commit a718e22a31

View file

@ -223,7 +223,7 @@ class ucp_register
if ($config['enable_confirm']) if ($config['enable_confirm'])
{ {
$vc_response = $captcha->validate($data); $vc_response = $captcha->validate($data);
if ($vc_response) if ($vc_response !== false)
{ {
$error[] = $vc_response; $error[] = $vc_response;
} }