Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Error attempting to use auth->role_name_by_id()
When attempting to use auth->role_name_by_id(), the library throws an error, attempting to call method select on a non-object. Fixed by checking to see if the Role_model class exists and, if not, loading it.
- Loading branch information