diff --git a/lib/private/Calendar/Manager.php b/lib/private/Calendar/Manager.php index 08d597cbbab..1bcea5d7353 100644 --- a/lib/private/Calendar/Manager.php +++ b/lib/private/Calendar/Manager.php @@ -290,7 +290,7 @@ class Manager implements IManager { } } - if ($options['absent'] === 'create') { + if (isset($options['absent']) && $options['absent'] === 'create') { // retrieve the primary calendar for the user $calendar = $this->getPrimaryCalendar($userId); if ($calendar !== null && (