From: Mikael Nordfeldth Date: Thu, 4 Jun 2015 15:39:23 +0000 (+0200) Subject: Network public publicgroupnav link would always show X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5718f812d9f1df8ecdac97bbcf6b47778f0f2e3b;p=quix0rs-gnu-social.git Network public publicgroupnav link would always show --- diff --git a/lib/publicgroupnav.php b/lib/publicgroupnav.php index 1c9d013293..9101a7f3b6 100644 --- a/lib/publicgroupnav.php +++ b/lib/publicgroupnav.php @@ -64,7 +64,7 @@ class PublicGroupNav extends Menu // TRANS: Menu item title in search group navigation panel. _('Public timeline'), $this->actionName == 'public', 'nav_timeline_public'); } - if (!$this->scoped instanceof Profile && common_config('public', 'localonly')) { + if (!$this->action->getScoped() instanceof Profile && common_config('public', 'localonly')) { // TRANS: Menu item in search group navigation panel. $this->out->menuItem(common_local_url('networkpublic'), _m('MENU','Network'), // TRANS: Menu item title in search group navigation panel.