Browse Source

include description format when creating event.

MOODLE_35_STABLE
Dan Marsden 7 years ago
parent
commit
ad27e6c7e7
  1. 1
      classes/calendar_helpers.php

1
classes/calendar_helpers.php

@ -53,6 +53,7 @@ function attendance_create_calendar_event(&$session) {
$caleventdata->timestart = $session->sessdate; $caleventdata->timestart = $session->sessdate;
$caleventdata->timeduration = $session->duration; $caleventdata->timeduration = $session->duration;
$caleventdata->description = $session->description; $caleventdata->description = $session->description;
$caleventdata->format = $session->descriptionformat;
$caleventdata->eventtype = 'attendance'; $caleventdata->eventtype = 'attendance';
$caleventdata->timemodified = time(); $caleventdata->timemodified = time();
$caleventdata->modulename = 'attendance'; $caleventdata->modulename = 'attendance';

Loading…
Cancel
Save