Default sensitivity to 0 (T7121)

Reviewers: machniak

Differential Revision: https://git.kolab.org/D4112
This commit is contained in:
Victor Nawothnig 2023-03-05 08:54:42 +01:00 committed by Aleksander Machniak
parent 5cca91ab6c
commit d13f808854

View file

@ -663,7 +663,7 @@ class database_driver extends calendar_driver
$event['_recurrence'] = rtrim($rrule, ';');
$event['free_busy'] = isset($this->free_busy_map[$free_busy]) ? $this->free_busy_map[$free_busy] : null;
$event['sensitivity'] = isset($this->sensitivity_map[$sensitivity]) ? $this->sensitivity_map[$sensitivity] : null;
$event['sensitivity'] = isset($this->sensitivity_map[$sensitivity]) ? $this->sensitivity_map[$sensitivity] : 0;
$event['all_day'] = !empty($event['allday']) ? 1 : 0;
if ($event['free_busy'] == 'tentative') {