]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Network wide feed link would NEVER show!
authorMikael Nordfeldth <mmn@hethane.se>
Fri, 5 Jun 2015 12:01:03 +0000 (14:01 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Fri, 5 Jun 2015 12:01:03 +0000 (14:01 +0200)
lib/publicgroupnav.php

index 9101a7f3b63de63162db1ec4ef403b7f778ec103..620a61ddd95bdd886d67b87bdd907e398b383a42 100644 (file)
@@ -64,7 +64,8 @@ class PublicGroupNav extends Menu
                                      // TRANS: Menu item title in search group navigation panel.
                                      _('Public timeline'), $this->actionName == 'public', 'nav_timeline_public');
             }
-            if (!$this->action->getScoped() instanceof Profile && common_config('public', 'localonly')) {
+            if (!common_config('public', 'localonly') || $this->action->getScoped() instanceof Profile) {
+                // Allow network wide view if you're logged in
                 // 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.