mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-14 13:46:33 +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);
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
if (!$user_rows)
|
if (empty($user_rows))
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user