diff --git a/e107_plugins/forum/shortcodes/batch/view_shortcodes.php b/e107_plugins/forum/shortcodes/batch/view_shortcodes.php index a80660b8bf..33e405328e 100644 --- a/e107_plugins/forum/shortcodes/batch/view_shortcodes.php +++ b/e107_plugins/forum/shortcodes/batch/view_shortcodes.php @@ -78,7 +78,8 @@ function sc_post_content($parm = null) $tp = e107::getParser(); $pref = e107::getPref(); $post = strip_tags($tp->toHTML($this->var['post_entry'], true, 'emotes_off, no_make_clickable', '', $pref['menu_wordwrap'])); - $post = $tp->text_truncate($post, varset($this->param['nfp_characters'], 120), varset($this->param['nfp_postfix'], '...')); +// $post = $tp->text_truncate($post, varset($this->param['nfp_characters'], 120), varset($this->param['nfp_postfix'], '...')); + $post = $tp->truncate($post, varset($this->param['nfp_characters'], (intval($parm['truncate'])??120)), varset($this->param['nfp_postfix'], '...')); return $post; }