Don't "inherit" free_busy flag from the iTip invitation

This commit is contained in:
Aleksander Machniak 2023-08-01 15:57:18 +02:00
parent 5d28225264
commit 36d8b80300

View file

@ -3441,6 +3441,11 @@ $("#rcmfd_new_category").keypress(function(event) {
$existing = null;
}
// Use only free_busy values that make sense in this context (T853612)
if (!in_array($event['free_busy'] ?? '', ['free', 'busy'])) {
unset($event['free_busy']);
}
$event_attendee = null;
$update_attendees = [];