mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 12:20:44 +02:00
Code cleanup
This commit is contained in:
@@ -291,7 +291,7 @@ class forum_shortcodes extends e_shortcode
|
||||
$forum = new e107forum;
|
||||
//$trackPref = $forum->prefs->get('track');
|
||||
//if (USER && vartrue($trackPref) && e_QUERY != 'track')
|
||||
if (USER && vartrue($forum->prefs->get('track')) && e_QUERY != 'track')
|
||||
if (USER && !empty($forum->prefs->get('track')) && e_QUERY != 'track')
|
||||
{
|
||||
$text .= "<br /><a href='".e107::url('forum','track')."'>".LAN_FORUM_0030.'</a>';
|
||||
}
|
||||
|
Reference in New Issue
Block a user