1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Update post_shortcodes.php

This commit is contained in:
rica-carv
2017-01-07 20:57:16 +00:00
committed by GitHub
parent 7df9a5816f
commit 2ec9b39d81

View File

@@ -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;
}