[feature/prune-users] Use empty for checking array size.

PHPBB3-9622
This commit is contained in:
Oleg Pudeyev 2012-04-19 20:27:21 -04:00
parent 6151f46abe
commit b76454dd83

View file

@ -357,7 +357,7 @@ function user_delete($mode, $user_ids, $retain_username = true)
}
$db->sql_freeresult($result);
if (!$user_rows)
if (empty($user_rows))
{
return false;
}