Commit 858f1b9a authored by Ruslan Kabalin's avatar Ruslan Kabalin
Browse files

Make profile_icon_url output compatible with html export filter.



Change-Id: I65de62a6ccbc680b3ee6055482cc84370a56e106
Signed-off-by: default avatarRuslan Kabalin <ruslan.kabalin@luns.net.uk>
parent ad835bc8
......@@ -1886,10 +1886,10 @@ function profile_icon_url($user, $maxwidth=40, $maxheight=40) {
}
$thumb = get_config('wwwroot') . 'thumb.php';
$sizeparams = 'maxwidth=' . $maxwidth . '&maxheight=' . $maxheight;
$sizeparams = 'maxwidth=' . $maxwidth . '&amp;maxheight=' . $maxheight;
if (!empty($user->profileicon)) {
return $thumb . '?type=profileiconbyid&' . $sizeparams . '&id=' . $user->profileicon;
return $thumb . '?type=profileiconbyid&amp;' . $sizeparams . '&amp;id=' . $user->profileicon;
}
// Assume we have the right size available in docroot, so we don't
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment