diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-07-08 22:52:16 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-07-08 22:52:16 +0200 |
commit | f576f42b4d3c607aee6b30154502adfed79301fb (patch) | |
tree | dbbdb2dcb9cea44e67a5d0122946167786c557fe /phpBB/includes/functions.php | |
parent | 1bd20eb273809afc04331e0b62405e4d2d5160e6 (diff) | |
parent | 23db3d0b8378577e39d8b81ff9fee1cea461a6c9 (diff) | |
download | forums-f576f42b4d3c607aee6b30154502adfed79301fb.tar forums-f576f42b4d3c607aee6b30154502adfed79301fb.tar.gz forums-f576f42b4d3c607aee6b30154502adfed79301fb.tar.bz2 forums-f576f42b4d3c607aee6b30154502adfed79301fb.tar.xz forums-f576f42b4d3c607aee6b30154502adfed79301fb.zip |
Merge pull request #3749 from VSEphpbb/ticket/13995
[ticket/13995] Fixes for invalid HTML in docs and phpBB
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 27c286c598..82aa91429c 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -4878,7 +4878,7 @@ function phpbb_get_avatar($row, $alt, $ignore_config = false, $lazy = false) $src = 'src="' . $avatar_data['src'] . '"'; } - $html = '<img class="avatar" ' . $src . + $html = '<img class="avatar" ' . $src . ' ' . ($avatar_data['width'] ? ('width="' . $avatar_data['width'] . '" ') : '') . ($avatar_data['height'] ? ('height="' . $avatar_data['height'] . '" ') : '') . 'alt="' . ((!empty($user->lang[$alt])) ? $user->lang[$alt] : $alt) . '" />'; |