Closed kelsoncm closed 1 year ago
Thanks for your work on this. Will merge when I am at my computer.
Computer wasn't playing nice but all sorted now with new battery (I hope). Will get this done tonight (Perth time).
Sorry I am not sure why I closed this. Getting confused from all the similar issues.
I pushed this commit to 4.0. However, this was already fixed by https://github.com/mdjnelson/moodle-mod_customcert/issues/465 but this SQL is nicer which is why I am using it now.
Hi, @mdjnelson !
This error occurs because when there a mandatory field in the users profile, the JOINs with the 'user custom field' table's must be included. As Moodle already has the solution ready for this, in this patch I used the native solution..
I hope it helps.
See: https://github.com/mdjnelson/moodle-mod_customcert/issues/512