mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-13 21:26:28 +02:00
[feature/prune-users] Use empty for checking array size.
PHPBB3-9622
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user