aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Apporder.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 /Zotlabs/Module/Apporder.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 'Zotlabs/Module/Apporder.php')
-rw-r--r--Zotlabs/Module/Apporder.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Apporder.php b/Zotlabs/Module/Apporder.php
index eac1abc2d..313c2df50 100644
--- a/Zotlabs/Module/Apporder.php
+++ b/Zotlabs/Module/Apporder.php
@@ -34,9 +34,9 @@ class Apporder extends \Zotlabs\Web\Controller {
foreach($syslist as $app) {
if($l === 'nav_pinned_app') {
- $navbar_apps[] = Zlib\Apps::app_render($app,'nav-order');
+ $navbar_apps[] = Zlib\Apps::app_render($app,'nav-order-pinned');
}
- elseif(strpos($app['categories'],'nav_pinned_app') === false) {
+ else {
$nav_apps[] = Zlib\Apps::app_render($app,'nav-order');
}
}