Fix problem when saving events having attendees
This commit is contained in:
parent
d00cec57a8
commit
f9458fac97
|
@ -529,7 +529,6 @@ class caldav_driver extends calendar_driver
|
||||||
if (!$event['calendar'] || !$this->calendars[$event['calendar']])
|
if (!$event['calendar'] || !$this->calendars[$event['calendar']])
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if($event = $this->_save_preprocess($event)) {
|
|
||||||
$sync_client = $this->sync_clients[$event["calendar"]];
|
$sync_client = $this->sync_clients[$event["calendar"]];
|
||||||
|
|
||||||
// Only push event if caldav_tag is not set to avoid pushing it twice
|
// 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);
|
$this->_update_recurring($event);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return $event_id;
|
return $event_id;
|
||||||
}
|
}
|
||||||
|
@ -551,7 +549,7 @@ class caldav_driver extends calendar_driver
|
||||||
*/
|
*/
|
||||||
private function _insert_event(&$event)
|
private function _insert_event(&$event)
|
||||||
{
|
{
|
||||||
//$event = $this->_save_preprocess($event);
|
$event = $this->_save_preprocess($event);
|
||||||
|
|
||||||
//TODO: proper 4 byte character (eg emoticons) handling
|
//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.
|
//utf8 in mysql only supports 3 byte characters, so this throws an error if there are emoticons in the description.
|
||||||
|
|
Loading…
Reference in a new issue