mirror of
https://github.com/moodle/moodle.git
synced 2025-06-03 14:46:35 +02:00
There were two issues. With groups, the $params array was wrong due to PHP + vs array_merge sillyness. Also, the first column in the SQL was not necessarily unique, so we need to use a recordset rather than get_records.