From 5932efdc421e5adb763b0c7e18509792e6f5e042 Mon Sep 17 00:00:00 2001 From: nickw Date: Wed, 23 Jun 2010 14:40:03 +0000 Subject: Only displaying navigation div when tabs are present. git-svn-id: http://code.elgg.org/elgg/trunk@6554 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/navigation/tabs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/default/navigation') 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'])) { ?>