srobotta / moodle-report_ldapaccounts

GNU General Public License v3.0
0 stars 1 forks source link

Fix instantiating system context #5

Closed detomon closed 11 months ago

detomon commented 11 months ago

The system context is instantiated with the constant CONTEXT_SYSTEM which is the context level not the context ID. This checks the wrong context and will fail if there is no context with ID 10.

srobotta commented 11 months ago

Thank you for your bugreport and immediate fix.