aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/nav.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/nav.php b/include/nav.php
index 66fdbc49b..97cbe87cb 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -64,8 +64,8 @@ function nav(&$a) {
$nav['help'] = array($help_url, t('Help'), "");
-
- $nav['apps'] = array('apps', t('Apps'), "");
+ if(count($a->apps))
+ $nav['apps'] = array('apps', t('Apps'), "");
$nav['search'] = array('search', t('Search'), "");