mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[feature/avatars] Use empty() instead of sizeof()
PHPBB3-10018
This commit is contained in:
@@ -140,7 +140,7 @@ class acp_board
|
||||
)
|
||||
);
|
||||
|
||||
if (sizeof($avatar_vars))
|
||||
if (!empty($avatar_vars))
|
||||
{
|
||||
$display_vars['vars'] += $avatar_vars;
|
||||
}
|
||||
|
Reference in New Issue
Block a user