diff --git a/include/class_template.inc b/include/class_template.inc index a18b4e385c6b3c19353a5c43784508d3541ab4c7..6ce371be12d386339d9a3b484cb68dfc6a7399a1 100644 --- a/include/class_template.inc +++ b/include/class_template.inc @@ -96,8 +96,8 @@ class template $this->attributes[$class][] = $attr; } } - if (empty($this->attributes[$class]) && $tab->ignore_account) { - // Do not show empty sections for tabs which are not explicitely enabled + if (empty($this->attributes[$class])) { + /* Do not show empty sections */ unset($this->attributes[$class]); } }