aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-11-07 19:41:22 +0000
committerMario <mario@mariovavti.com>2022-11-07 19:41:22 +0000
commit839c5a8e412aa3f22365d9fa8fe7a08cd2bc9378 (patch)
tree5117971b14459c195cfb545f718b98919485120c /Zotlabs/Lib
parent40d74fa779bbb079e844f9644d7677b06103b8f3 (diff)
downloadvolse-hubzilla-839c5a8e412aa3f22365d9fa8fe7a08cd2bc9378.tar.gz
volse-hubzilla-839c5a8e412aa3f22365d9fa8fe7a08cd2bc9378.tar.bz2
volse-hubzilla-839c5a8e412aa3f22365d9fa8fe7a08cd2bc9378.zip
fix regression where automatically created directories were not public and pinned/featured state of apps was not displayed correctly
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/Apps.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Apps.php b/Zotlabs/Lib/Apps.php
index a9c7d0a2a..497a9d299 100644
--- a/Zotlabs/Lib/Apps.php
+++ b/Zotlabs/Lib/Apps.php
@@ -605,8 +605,8 @@ class Apps {
'$deleted' => $papp['deleted'] ?? false,
'$feature' => ((isset($papp['embed']) || $mode == 'edit') ? false : true),
'$pin' => ((isset($papp['embed']) || $mode == 'edit') ? false : true),
- '$featured' => ((isset($papp['categories']) && strpos($papp['categories'], 'nav_featured_app') === false) ? false : true),
- '$pinned' => ((isset($papp['categories']) && strpos($papp['categories'], 'nav_pinned_app') === false) ? false : true),
+ '$featured' => ((isset($papp['categories']) && strpos($papp['categories'], 'nav_featured_app') !== false) ? true : false),
+ '$pinned' => ((isset($papp['categories']) && strpos($papp['categories'], 'nav_pinned_app') !== false) ? true : false),
'$mode' => $mode,
'$add' => t('Add to app-tray'),
'$remove' => t('Remove from app-tray'),