MDL-58904 restore: temp fix for event priority notices

This commit is contained in:
Jake Dallimore 2017-05-12 15:10:23 +08:00
parent 2c69d24037
commit c0af95d789

View File

@ -2714,7 +2714,7 @@ class restore_calendarevents_structure_step extends restore_structure_step {
'uuid' => $data->uuid,
'sequence' => $data->sequence,
'timemodified' => $this->apply_date_offset($data->timemodified),
'priority' => $data->priority);
'priority' => isset($data->priority) ? $data->priority : null);
if ($this->name == 'activity_calendar') {
$params['instance'] = $this->task->get_activityid();
} else {