aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/default/navigation/tabs.php2
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>