From ad27e6c7e74012ef9d4e3a5edfb39a670e458dea Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Mon, 26 Feb 2018 14:13:03 +1300 Subject: [PATCH] include description format when creating event. --- classes/calendar_helpers.php | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/calendar_helpers.php b/classes/calendar_helpers.php index eb29ecf..1e3c5f0 100644 --- a/classes/calendar_helpers.php +++ b/classes/calendar_helpers.php @@ -53,6 +53,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';