This repository has been archived by the owner on Feb 20, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix an error of flawed logic in user.php fixes #40
If $this->roles is empty, either no roles where assigned, or all assigned roles were removed. Only in that case, the code should look into a default value. The OR part in the if statement should not be there.
- Loading branch information