pimcore-members
pimcore-members copied to clipboard
There's a bug in src/Adapter/User/UserTrait.php line 56 where it just breaks when you have an empty roles.
| Q | A |
|---|---|
| Bug report? | yes |
| Feature request? | no |
| BC Break report? | yes |
| RFC? | yes/no |
The fix would be just: foreach ($this->getGroups() ?? [] as $group) {
@willfroq I created a PR: https://github.com/dachcom-digital/pimcore-members/pull/200
resolved by #200