-
Bug
-
Resolution: Fixed
-
Minor
-
3.1
-
MOODLE_31_STABLE
-
MOODLE_31_STABLE
-
MDL-54546-master -
In user_summary_exporter, the following properties have a different types from core_user:
- 'idnumber' should be PARAM_RAW, instead of PARAM_NOTAGS
- 'email' should be PARAM_RAW_TRIMMED instead of PARAM_TEXT
It might be better to use \core_user::get_property_type() to make sure that we get the correct types for the desired properties.
In course_summary_exporter, 'idnumber' should be PARAM_RAW, instead of PARAM_TEXT