1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-28 10:20:45 +02:00

Forum updated to use $tp->toAvatar();

This commit is contained in:
Cameron
2015-02-05 00:19:45 -08:00
parent f80fe13180
commit a3a46057bb

View File

@@ -171,8 +171,8 @@ class plugin_forum_view_shortcodes extends e_shortcode
function sc_avatar()
{
$tp = e107::getParser();
return $tp->parseTemplate("{USER_AVATAR=".$this->postInfo['user_image']."}", true);
return e107::getParser()->toAvatar($this->postInfo);
// return $tp->parseTemplate("{USER_AVATAR=".$this->postInfo['user_image']."}", true);
}
function sc_anon_ip()