Commit 466f391f authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #5357 Do not empty groups when applying posix tab template

parent 6cb75dff
...@@ -697,8 +697,6 @@ class posixAccount extends simplePlugin ...@@ -697,8 +697,6 @@ class posixAccount extends simplePlugin
if (isset($this->attrs['posixGroups'])) { if (isset($this->attrs['posixGroups'])) {
unset($this->attrs['posixGroups']['count']); unset($this->attrs['posixGroups']['count']);
$this->groupMembership = $this->attrs['posixGroups']; $this->groupMembership = $this->attrs['posixGroups'];
} else {
$this->groupMembership = array();
} }
if (isset($this->attrs['force_ids'])) { if (isset($this->attrs['force_ids'])) {
......
Markdown is supported
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