Skip to content

Commit

Permalink
MDL-58904 restore: temp fix for event priority notices
Browse files Browse the repository at this point in the history
  • Loading branch information
snake committed May 12, 2017
1 parent 2c69d24 commit c0af95d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backup/moodle2/restore_stepslib.php
Original file line number Diff line number Diff line change
Expand Up @@ -2714,7 +2714,7 @@ public function process_calendarevents($data) {
'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 {
Expand Down

0 comments on commit c0af95d

Please sign in to comment.