diff options
author | nickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-06-23 14:40:03 +0000 |
---|---|---|
committer | nickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-06-23 14:40:03 +0000 |
commit | 5932efdc421e5adb763b0c7e18509792e6f5e042 (patch) | |
tree | 29d6af1982723a0f690682e48d5785c1b788c11d /views/default/navigation | |
parent | 3fb6a43748aa2ad47a34b6170771f56bbb466d0e (diff) | |
download | elgg-5932efdc421e5adb763b0c7e18509792e6f5e042.tar.gz elgg-5932efdc421e5adb763b0c7e18509792e6f5e042.tar.bz2 |
Only displaying navigation div when tabs are present.
git-svn-id: http://code.elgg.org/elgg/trunk@6554 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/navigation')
-rw-r--r-- | views/default/navigation/tabs.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/navigation/tabs.php b/views/default/navigation/tabs.php index 38a85dca2..fd6d8b8fe 100644 --- a/views/default/navigation/tabs.php +++ b/views/default/navigation/tabs.php @@ -20,7 +20,7 @@ if ($type == 'horizontal') { $type_class = "elgg_vertical_tabbed_nav"; } -if (isset($vars['tabs'])) { +if (isset($vars['tabs']) && is_array($vars['tabs']) && !empty($vars['tabs'])) { ?> <div class="<?php echo $type_class; ?>"> <ul> |