diff --git a/e107_core/shortcodes/batch/comment_shortcodes.php b/e107_core/shortcodes/batch/comment_shortcodes.php index 50fdcc83e..8de346fec 100644 --- a/e107_core/shortcodes/batch/comment_shortcodes.php +++ b/e107_core/shortcodes/batch/comment_shortcodes.php @@ -111,7 +111,7 @@ class comment_shortcodes extends e_shortcode { if ($thisaction == "comment" && $pref['nested_comments']) { - $REPLY = "".COMLAN_326.""; + $REPLY = "".COMLAN_326.""; } } } @@ -129,7 +129,7 @@ class comment_shortcodes extends e_shortcode } - function sc_comment_avatar($parm = '') + function sc_comment_avatar($parm = null) { $tp = e107::getParser(); @@ -141,7 +141,7 @@ class comment_shortcodes extends e_shortcode $this->var = array_merge($this->var, $userdata); } - $text = $tp->toAvatar($this->var); + $text = $tp->toAvatar($this->var, $parm); $text .= '