diff options
author | git-marijus <mario@mariovavti.com> | 2017-07-21 10:32:21 +0200 |
---|---|---|
committer | git-marijus <mario@mariovavti.com> | 2017-07-21 10:32:21 +0200 |
commit | 1bdcfe5219c810758ae255427513a7a0c09ce8e1 (patch) | |
tree | 62affdc8e8776109c76e80954021146b9c9fb59a /Zotlabs/Lib/Apps.php | |
parent | 8e5c56dcc2e38884f897acaf9d2b39e5b5dd8c29 (diff) | |
download | volse-hubzilla-1bdcfe5219c810758ae255427513a7a0c09ce8e1.tar.gz volse-hubzilla-1bdcfe5219c810758ae255427513a7a0c09ce8e1.tar.bz2 volse-hubzilla-1bdcfe5219c810758ae255427513a7a0c09ce8e1.zip |
provide a mechanism to mark apps active in the bin
Diffstat (limited to 'Zotlabs/Lib/Apps.php')
-rw-r--r-- | Zotlabs/Lib/Apps.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Zotlabs/Lib/Apps.php b/Zotlabs/Lib/Apps.php index 68587df49..08f054eaf 100644 --- a/Zotlabs/Lib/Apps.php +++ b/Zotlabs/Lib/Apps.php @@ -284,6 +284,9 @@ class Apps { if(! $papp['photo']) $papp['photo'] = z_root() . '/' . get_default_profile_photo(80); + if(\App::$nav_sel['active'] == $papp['name']) + $papp['active'] = true; + self::translate_system_apps($papp); if(trim($papp['plugin']) && (! plugin_is_installed(trim($papp['plugin'])))) |