mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
0bb7f79d31
Role sort order was not available in the UI (in JavaScript) due to the use of PHP assoc arrays and JSON encoding/decoding. This patch addresses this by sending the roles in a json array, rather than json object.