projects
/
moodle-mod_attendance.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe319b4
)
include description format when creating event.
author
Dan Marsden
<dan@danmarsden.com>
Mon, 26 Feb 2018 01:13:03 +0000
(14:13 +1300)
committer
Dan Marsden
<dan@danmarsden.com>
Mon, 26 Feb 2018 01:13:03 +0000
(14:13 +1300)
classes/calendar_helpers.php
patch
|
blob
|
history
diff --git
a/classes/calendar_helpers.php
b/classes/calendar_helpers.php
index
eb29ecf
..
1e3c5f0
100644
(file)
--- 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';