academic-moodle-cooperation / moodle-mod_consentform

The activity Consentform enables teachers to display or hide course content for participants depending on their consent/refusal.
https://academic-moodle-cooperation.org/mod_consentform/
2 stars 1 forks source link

should moodle fullname() api be used #3

Closed danmarsden closed 2 years ago

danmarsden commented 2 years ago

https://github.com/academic-moodle-cooperation/moodle-mod_consentform/blob/master/classes/consentform_export.php#L58

might be better to do fullname($USER) there - many organisations will have configured moodle to display names differently from firstname, lastname.

mkemmerling commented 2 years ago

Fixed in master branch. Version 3.11.1 coming soon.