mirror of
https://github.com/moodle/moodle.git
synced 2025-01-22 08:11:26 +01:00
dc7e8cb582
when there were more than one record returned was sometimes causing problems if the data was unclean due to a bug somewhere. For example, if there are two copies of a section, then Moodle keeps creating new ones because it can't find ONE. This fix prevents that.