aboutsummaryrefslogtreecommitdiffstats
path: root/include/nav.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-07-26 22:09:01 -0700
committerzotlabs <mike@macgirvin.com>2017-07-26 22:09:01 -0700
commitd3a5911932201eda2328123873d75e8c13cb9a89 (patch)
tree03f5ffd3d5c8b7c07a8b1084178cb9dafabb2fd1 /include/nav.php
parentdbbae4bac81d18f814c18ac8d0ea51667e00703f (diff)
parente71cdf02a8303689c933b98185e2671f49fc5a7d (diff)
downloadvolse-hubzilla-d3a5911932201eda2328123873d75e8c13cb9a89.tar.gz
volse-hubzilla-d3a5911932201eda2328123873d75e8c13cb9a89.tar.bz2
volse-hubzilla-d3a5911932201eda2328123873d75e8c13cb9a89.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
Diffstat (limited to 'include/nav.php')
-rw-r--r--include/nav.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/nav.php b/include/nav.php
index 4cb2e7fa6..cd32126a1 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -242,6 +242,9 @@ EOT;
$syslist = Zlib\Apps::app_order(local_channel(),$syslist);
foreach($syslist as $app) {
+ if(\App::$nav_sel['active'] == $app['name'])
+ $app['active'] = true;
+
if($is_owner)
$nav_apps[] = Zlib\Apps::app_render($app,'nav');
elseif(! $is_owner && strpos($app['requires'], 'local_channel') === false)