-
Bug
-
Resolution: Fixed
-
Minor
-
3.3.6, 3.4.3, 3.5.1, 3.6
-
MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
-
MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
-
wip-
MDL-62755-master -
-
GDPR Followup Sprint 1
https://github.com/moodle/moodle/blob/master/mod/assign/classes/privacy/provider.php#L478
if (!empty($overrides->cutoffdate)) {
|
$overrides->cutoffdate = transform::datetime($overrides->cutoffdate);
|
}
|
if (!empty($overrides->allowsubmissionsfromdate)) {
|
$overrides->allowsubmissionsfromdate = transform::datetime($overrides->allowsubmissionsfromdate);
|
}
|
if (!empty($data)) {
|
writer::with_context($context)->export_data([get_string('overrides', 'mod_assign')], $data);
|
}
|
These are both updating $overrides instead of $data.
Thanks to danmarsden for pointing this out.