Browse Source

Fix #350 - update description in calendar even on session update.

MOODLE_34_STABLE
Dan Marsden 6 years ago
parent
commit
6eb87c01f7
  1. 1
      classes/calendar_helpers.php

1
classes/calendar_helpers.php

@ -114,6 +114,7 @@ function attendance_update_calendar_event($caleventid, $timeduration, $timestart
$caleventdata->timeduration = $timeduration; $caleventdata->timeduration = $timeduration;
$caleventdata->timestart = $timestart; $caleventdata->timestart = $timestart;
$caleventdata->timemodified = time(); $caleventdata->timemodified = time();
$caleventdata->description = $session->description;
$calendarevent = calendar_event::load($caleventid); $calendarevent = calendar_event::load($caleventid);
if ($calendarevent) { if ($calendarevent) {

Loading…
Cancel
Save