Merge branch 'MDL-47713-master-fix1' of http://github.com/damyon/moodle