From 7df9a5816f02770ea18d75ad0c47939f83bac795 Mon Sep 17 00:00:00 2001 From: rica-carv Date: Wed, 7 Dec 2016 17:45:43 +0000 Subject: [PATCH] Update post_shortcodes.php --- .../forum/shortcodes/batch/post_shortcodes.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/e107_plugins/forum/shortcodes/batch/post_shortcodes.php b/e107_plugins/forum/shortcodes/batch/post_shortcodes.php index 2cd2f2f86..6593f2925 100644 --- a/e107_plugins/forum/shortcodes/batch/post_shortcodes.php +++ b/e107_plugins/forum/shortcodes/batch/post_shortcodes.php @@ -442,17 +442,17 @@ class plugin_forum_post_shortcodes extends e_shortcode //$this->forumObj->threadGet($this->id, false) if ($this->var['action'] == "rp") { - $pre = LAN_FORUM_1003; - $name = strip_tags($tp->toHTML($this->var['thread_name'], false, 'no_hook, emotes_off')); - $url = e107::url('forum', 'topic', $this->var); - $post = LAN_FORUM_2006; + $pre = LAN_FORUM_1003; + $name = $this->var['thread_name']; + $url = e107::url('forum', 'topic', $this->var); + $post = LAN_FORUM_2006; } if ($this->var['action'] == "nt") { - $pre = LAN_FORUM_1001; - $name = strip_tags($tp->toHTML($this->var['forum_name'], false, 'no_hook, emotes_off')); - $url = e107::url('forum', 'forum', $this->var); - $post = LAN_FORUM_2005; + $pre = LAN_FORUM_1001; + $name = $this->var['forum_name']; + $url = e107::url('forum', 'forum', $this->var); + $post = LAN_FORUM_2005; } return $pre.($url?": {$name} - ":$name).$post; }