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