diff options
author | Callum Macrae <callum@macr.ae> | 2015-05-28 18:12:16 +0200 |
---|---|---|
committer | Callum Macrae <callum@macr.ae> | 2015-05-30 10:48:38 +0200 |
commit | 9366f29fd7d0bf439b0a57bcea9f2753881b6509 (patch) | |
tree | 829eaf700a0440b28cc43f48c8319493481e1b09 /phpBB/includes/functions.php | |
parent | be1d1c7d05a0b0dec259da967e2ed277fb8f632f (diff) | |
download | forums-9366f29fd7d0bf439b0a57bcea9f2753881b6509.tar forums-9366f29fd7d0bf439b0a57bcea9f2753881b6509.tar.gz forums-9366f29fd7d0bf439b0a57bcea9f2753881b6509.tar.bz2 forums-9366f29fd7d0bf439b0a57bcea9f2753881b6509.tar.xz forums-9366f29fd7d0bf439b0a57bcea9f2753881b6509.zip |
[ticket/13882] no more egyptian brackets /o/
PHPBB3-13882
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index b3da9c4e5d..2c3560fa6d 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -4851,7 +4851,8 @@ function phpbb_get_avatar($row, $alt, $ignore_config = false, $lazy = false) if (!empty($avatar_data['src'])) { - if ($lazy) { + if ($lazy) + { // Determine board url - we may need it later $board_url = generate_board_url() . '/'; // 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'; $src = 'src="' . $theme . '/images/no_avatar.gif" data-src="' . $avatar_data['src'] . '"'; - } else { + } + else + { $src = 'src="' . $avatar_data['src'] . '"'; } |