Commit 6ef556be authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(templates) Do not show empty sections in creation by template dialog

issue #5899
Showing with 2 additions and 2 deletions
+2 -2
...@@ -96,8 +96,8 @@ class template ...@@ -96,8 +96,8 @@ class template
$this->attributes[$class][] = $attr; $this->attributes[$class][] = $attr;
} }
} }
if (empty($this->attributes[$class]) && $tab->ignore_account) { if (empty($this->attributes[$class])) {
// Do not show empty sections for tabs which are not explicitely enabled /* Do not show empty sections */
unset($this->attributes[$class]); unset($this->attributes[$class]);
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment