diff --git a/e107_plugins/forum/shortcodes/batch/view_shortcodes.php b/e107_plugins/forum/shortcodes/batch/view_shortcodes.php index c24d51e76..642c4e6dd 100644 --- a/e107_plugins/forum/shortcodes/batch/view_shortcodes.php +++ b/e107_plugins/forum/shortcodes/batch/view_shortcodes.php @@ -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()