From 3e41d3ebe687381ada89935770a6c8260dea51a3 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';