From 2ec9b39d8100413797e6504c2889275fb0c0bcd5 Mon Sep 17 00:00:00 2001 From: rica-carv Date: Sat, 7 Jan 2017 20:57:16 +0000 Subject: [PATCH] Update post_shortcodes.php --- e107_plugins/forum/shortcodes/batch/post_shortcodes.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e107_plugins/forum/shortcodes/batch/post_shortcodes.php b/e107_plugins/forum/shortcodes/batch/post_shortcodes.php index 6593f2925..5bad703c7 100644 --- a/e107_plugins/forum/shortcodes/batch/post_shortcodes.php +++ b/e107_plugins/forum/shortcodes/batch/post_shortcodes.php @@ -443,14 +443,14 @@ class plugin_forum_post_shortcodes extends e_shortcode if ($this->var['action'] == "rp") { $pre = LAN_FORUM_1003; - $name = $this->var['thread_name']; + $name = $tp->toHTML($this->var['thread_name'], false, 'no_hook, emotes_off'); $url = e107::url('forum', 'topic', $this->var); $post = LAN_FORUM_2006; } if ($this->var['action'] == "nt") { $pre = LAN_FORUM_1001; - $name = $this->var['forum_name']; + $name = $tp->toHTML($this->var['forum_name'], false, 'no_hook, emotes_off'); $url = e107::url('forum', 'forum', $this->var); $post = LAN_FORUM_2005; }