Fix problem when saving events having attendees

This commit is contained in:
Mateusz Kijowski 2024-04-08 06:49:23 +02:00
parent d00cec57a8
commit f9458fac97

View file

@ -529,7 +529,6 @@ class caldav_driver extends calendar_driver
if (!$event['calendar'] || !$this->calendars[$event['calendar']])
return false;
if($event = $this->_save_preprocess($event)) {
$sync_client = $this->sync_clients[$event["calendar"]];
// Only push event if caldav_tag is not set to avoid pushing it twice
@ -538,7 +537,6 @@ class caldav_driver extends calendar_driver
$this->_update_recurring($event);
}
}
}
return $event_id;
}
@ -551,7 +549,7 @@ class caldav_driver extends calendar_driver
*/
private function _insert_event(&$event)
{
//$event = $this->_save_preprocess($event);
$event = $this->_save_preprocess($event);
//TODO: proper 4 byte character (eg emoticons) handling
//utf8 in mysql only supports 3 byte characters, so this throws an error if there are emoticons in the description.