mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-24 18:41:52 +02:00
[ticket/15233] Normalize empty avatar array
PHPBB3-15233
This commit is contained in:
@@ -105,7 +105,15 @@ class helper
|
||||
{
|
||||
if (!$this->config['allow_avatar'] && !$ignore_config)
|
||||
{
|
||||
return [];
|
||||
return [
|
||||
'html' => '',
|
||||
'lazy' => false,
|
||||
'src' => '',
|
||||
'title' => '',
|
||||
'type' => '',
|
||||
'width' => 0,
|
||||
'height' => 0,
|
||||
];
|
||||
}
|
||||
|
||||
$data = [
|
||||
|
Reference in New Issue
Block a user