aboutsummaryrefslogtreecommitdiffstats
path: root/include/nav.php
diff options
context:
space:
mode:
authorZot <mike@macgirvin.com>2020-06-11 12:13:43 +0200
committerMario <mario@mariovavti.com>2020-06-11 12:13:43 +0200
commit3201a4bec5f3524c2eba813e46d69b4c5943840f (patch)
tree255dc1dbe5745a2bf9b5a4f93ed82628052067cb /include/nav.php
parent9da8e30c378a58a89d3eeaf2f29d8c8774128235 (diff)
downloadvolse-hubzilla-3201a4bec5f3524c2eba813e46d69b4c5943840f.tar.gz
volse-hubzilla-3201a4bec5f3524c2eba813e46d69b4c5943840f.tar.bz2
volse-hubzilla-3201a4bec5f3524c2eba813e46d69b4c5943840f.zip
allow apps to be both pinned and starred independently
Diffstat (limited to 'include/nav.php')
-rw-r--r--include/nav.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/nav.php b/include/nav.php
index bd4d000f7..b2a061661 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -296,14 +296,10 @@ function nav($template = 'default') {
$app['active'] = true;
if($is_owner) {
- if(strpos($app['categories'],'nav_pinned_app') === false) {
- $nav_apps[] = Apps::app_render($app,'nav');
- }
+ $nav_apps[] = Apps::app_render($app,'nav');
}
elseif(! $is_owner && strpos($app['requires'], 'local_channel') === false) {
- if(strpos($app['categories'],'nav_pinned_app') === false) {
- $nav_apps[] = Apps::app_render($app,'nav');
- }
+ $nav_apps[] = Apps::app_render($app,'nav');
}
}
}