diff --git a/modules/discopower/templates/disco-tpl.php b/modules/discopower/templates/disco-tpl.php index b235f59fa909669775731be84776a146651e6d59..29da8cb84d9a7be118df3d615bcc215a0bbcfdde 100644 --- a/modules/discopower/templates/disco-tpl.php +++ b/modules/discopower/templates/disco-tpl.php @@ -149,7 +149,9 @@ if (!empty($faventry)) { $tabs = array_keys( $this->data['idplist']); foreach ($tabs AS $tab) { - echo '<li><a href="#' . $tab . '"><span>' . $this->t('{discopower:tabs:' . $tab . '}') . '</span></a></li> '; + if(!empty($this->data['idplist'][$tab])) { + echo '<li><a href="#' . $tab . '"><span>' . $this->t('{discopower:tabs:' . $tab . '}') . '</span></a></li> '; + } } ?>