mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/13995] Invalid avatar HTML missing space between elements
PHPBB3-13995
This commit is contained in:
parent
6294c45bd3
commit
04d34e6c8b
1 changed files with 1 additions and 1 deletions
|
@ -4878,7 +4878,7 @@ function phpbb_get_avatar($row, $alt, $ignore_config = false, $lazy = false)
|
||||||
$src = 'src="' . $avatar_data['src'] . '"';
|
$src = 'src="' . $avatar_data['src'] . '"';
|
||||||
}
|
}
|
||||||
|
|
||||||
$html = '<img class="avatar" ' . $src .
|
$html = '<img class="avatar" ' . $src . ' ' .
|
||||||
($avatar_data['width'] ? ('width="' . $avatar_data['width'] . '" ') : '') .
|
($avatar_data['width'] ? ('width="' . $avatar_data['width'] . '" ') : '') .
|
||||||
($avatar_data['height'] ? ('height="' . $avatar_data['height'] . '" ') : '') .
|
($avatar_data['height'] ? ('height="' . $avatar_data['height'] . '" ') : '') .
|
||||||
'alt="' . ((!empty($user->lang[$alt])) ? $user->lang[$alt] : $alt) . '" />';
|
'alt="' . ((!empty($user->lang[$alt])) ? $user->lang[$alt] : $alt) . '" />';
|
||||||
|
|
Loading…
Add table
Reference in a new issue