diff --git a/e107_core/shortcodes/batch/comment_shortcodes.php b/e107_core/shortcodes/batch/comment_shortcodes.php index 6c27dcde4..1c6cc2137 100644 --- a/e107_core/shortcodes/batch/comment_shortcodes.php +++ b/e107_core/shortcodes/batch/comment_shortcodes.php @@ -107,12 +107,12 @@ class comment_shortcodes extends e_shortcode $tp = e107::getParser(); // return $this->var['user_image']; - // $url = $tp->thumbUrl($this->var['user_image']); - // $text = $tp->parseTemplate("{USER_AVATAR=".vartrue($this->var['user_image'],USERIMAGE)."}"); - $text = $tp->parseTemplate("{USER_AVATAR=".$this->var['user_id']."}"); - $text = + // $text = $tp->parseTemplate("{USER_AVATAR=".$this->var['user_id']."}"); + + $text = $tp->toAvatar($this->var); + $text .= "