Commit 1c5cfc81 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #5357 Restore correct is_account value after simplePlugin resets it in adapt_from_template

parent 6dec2eab
......@@ -280,5 +280,7 @@ class userRoles extends simplePlugin
unset($this->attrs['userRoles']['count']);
$this->rolesMembership = $this->attrs['userRoles'];
}
$this->is_account = ((count($this->rolesMembership) > 0) || (count($this->groupsMembership) > 0));
}
}
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