mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 04:32:01 +02:00
Merge pull request #2063 from rica-carv/rica-carv-forum_shortcodes1
Forum shortcodes forums track link render update
This commit is contained in:
commit
b2cd818a90
@ -128,7 +128,7 @@ class forum_shortcodes extends e_shortcode
|
||||
|
||||
// To be reworked to get the $forum var
|
||||
$trackPref = $forum->prefs->get('track');
|
||||
if(!empty($trackPref))
|
||||
if(!empty($trackPref) && $forum->checkPerm($this->var['forum_id'], 'post'))
|
||||
{
|
||||
$uInfo[2] = "<a href='".e107::url('forum','track')."'>".LAN_FORUM_0030."</a>";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user