mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
Merge branch '3.3.x'
This commit is contained in:
@@ -413,7 +413,7 @@ class ucp_register
|
|||||||
$user_id = user_add($user_row, $cp_data);
|
$user_id = user_add($user_row, $cp_data);
|
||||||
|
|
||||||
// This should not happen, because the required variables are listed above...
|
// This should not happen, because the required variables are listed above...
|
||||||
if ($user_id === false)
|
if ((bool) $user_id === false)
|
||||||
{
|
{
|
||||||
trigger_error('NO_USER', E_USER_ERROR);
|
trigger_error('NO_USER', E_USER_ERROR);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user