mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
cf7a50b28e
The optional_param call was moved outside of the constructor because it was called every time the repository would be initialised. That was leading to problems when the parameter was defined from another form and not complying with its expected type.