From 00899a0da93b562d2ce89932caa73b0119e42518 Mon Sep 17 00:00:00 2001 From: rica-carv Date: Mon, 21 Nov 2016 18:50:41 +0000 Subject: [PATCH] Update view_shortcodes.php --- e107_plugins/forum/shortcodes/batch/view_shortcodes.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e107_plugins/forum/shortcodes/batch/view_shortcodes.php b/e107_plugins/forum/shortcodes/batch/view_shortcodes.php index 8ddbad5e5..9cfe9f6ab 100644 --- a/e107_plugins/forum/shortcodes/batch/view_shortcodes.php +++ b/e107_plugins/forum/shortcodes/batch/view_shortcodes.php @@ -804,7 +804,7 @@ function sc_buttonsx() // $url = e107::getUrl()->create('forum/thread/reply', array('id' => $thread->threadId)); $replyUrl = "".LAN_FORUM_2006.""; } - if ($forum->checkPerm($this->var['thread_forum_id'], 'thread')) + if ($forum->checkPerm($this->var['thread_forum_id'], 'post')) { $ntUrl = e107::url('forum','post')."?f=nt&id=". $this->var['thread_forum_id']; // $ntUrl = e107::getUrl()->create('forum/thread/new', array('id' => $thread->threadInfo['thread_forum_id'])); @@ -829,7 +829,7 @@ function sc_buttonsx() $text = '
- '.$replyUrl.' + '.($replyUrl?:LAN_FORUM_1003." ".LAN_FORUM_8013).'