diff --git a/phpBB/includes/usercp_register.php b/phpBB/includes/usercp_register.php index 5f3aea6f6b..88bdf2aad1 100644 --- a/phpBB/includes/usercp_register.php +++ b/phpBB/includes/usercp_register.php @@ -492,7 +492,7 @@ if ( isset($HTTP_POST_VARS['submit']) ) message_die(GENERAL_ERROR, 'Could not obtain next user_id information', '', __LINE__, __FILE__, $sql); } - if ( !($row = $db->sql_fetchrow($result) ) + if ( !($row = $db->sql_fetchrow($result)) ) { message_die(GENERAL_ERROR, 'Could not obtain next user_id information', '', __LINE__, __FILE__, $sql); }