Commit 0e2732d6 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 2215c549
......@@ -322,5 +322,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));
}
}
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