From fdbabea0337e1920d2f3bdf12cf4aff3769ed014 Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Tue, 29 Jan 2019 15:47:38 +1300 Subject: [PATCH] Fix #350 - update description in calendar even on session update. --- classes/calendar_helpers.php | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/calendar_helpers.php b/classes/calendar_helpers.php index 4a4342f..07fd2ab 100644 --- a/classes/calendar_helpers.php +++ b/classes/calendar_helpers.php @@ -137,6 +137,7 @@ function attendance_update_calendar_event($session) { $caleventdata->timeduration = $timeduration; $caleventdata->timestart = $timestart; $caleventdata->timemodified = time(); + $caleventdata->description = $session->description; $calendarevent = calendar_event::load($caleventid); if ($calendarevent) {