Merge branch 'MDL-61460-master-fix' of https://github.com/andrewnicols/moodle