Browse Source

include description format when creating event.

MOODLE_31_STABLE
Dan Marsden 7 years ago
parent
commit
c3bb0fc306
  1. 1
      classes/calendar_helpers.php

1
classes/calendar_helpers.php

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

Loading…
Cancel
Save