Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
accesslib: Fix get_context_users_bycap() when no roles grant the cap
When no roles mention the capability, get_context_users_bycap() breaks badly. This trivial patch does a sanity check before jumping into the SQL shark-pool... MDL-13160
- Loading branch information