We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4fc7f29 + 7aba80b commit 6f95d85Copy full SHA for 6f95d85
main/inc/lib/agenda.lib.php
@@ -246,7 +246,7 @@ public function addEvent(
246
) {
247
$start = api_get_utc_datetime($start);
248
$end = api_get_utc_datetime($end);
249
- $allDay = isset($allDay) && $allDay === 'true' ? 1 : 0;
+ $allDay = isset($allDay) && ($allDay === 'true' || $allDay == 1) ? 1 : 0;
250
$id = null;
251
252
switch ($this->type) {
0 commit comments