mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/13882] no more egyptian brackets /o/
PHPBB3-13882
This commit is contained in:
parent
be1d1c7d05
commit
9366f29fd7
1 changed files with 5 additions and 2 deletions
|
@ -4851,7 +4851,8 @@ function phpbb_get_avatar($row, $alt, $ignore_config = false, $lazy = false)
|
||||||
|
|
||||||
if (!empty($avatar_data['src']))
|
if (!empty($avatar_data['src']))
|
||||||
{
|
{
|
||||||
if ($lazy) {
|
if ($lazy)
|
||||||
|
{
|
||||||
// Determine board url - we may need it later
|
// Determine board url - we may need it later
|
||||||
$board_url = generate_board_url() . '/';
|
$board_url = generate_board_url() . '/';
|
||||||
// This path is sent with the base template paths in the assign_vars()
|
// This path is sent with the base template paths in the assign_vars()
|
||||||
|
@ -4865,7 +4866,9 @@ function phpbb_get_avatar($row, $alt, $ignore_config = false, $lazy = false)
|
||||||
$theme = "{$web_path}styles/" . rawurlencode($user->style['style_path']) . '/theme';
|
$theme = "{$web_path}styles/" . rawurlencode($user->style['style_path']) . '/theme';
|
||||||
|
|
||||||
$src = 'src="' . $theme . '/images/no_avatar.gif" data-src="' . $avatar_data['src'] . '"';
|
$src = 'src="' . $theme . '/images/no_avatar.gif" data-src="' . $avatar_data['src'] . '"';
|
||||||
} else {
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
$src = 'src="' . $avatar_data['src'] . '"';
|
$src = 'src="' . $avatar_data['src'] . '"';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue