Commit feb9b279 authored by Etienne CHAMPETIER's avatar Etienne CHAMPETIER

ZP-801 allow all day reccuring events without timezone.

Released under the Affero GNU General Public License (AGPL) version 3.
parent d8e7289b
...@@ -210,8 +210,8 @@ class SyncAppointment extends SyncObject { ...@@ -210,8 +210,8 @@ class SyncAppointment extends SyncObject {
} }
} }
// do not sync a recurrent appointment without a timezone // do not sync a recurrent appointment without a timezone (except all day events)
if (isset($this->recurrence) && !isset($this->timezone)) { if (isset($this->recurrence) && !isset($this->timezone) && empty($this->alldayevent)) {
ZLog::Write(LOGLEVEL_ERROR, "SyncAppointment->Check(): timezone for a recurring appointment is not set."); ZLog::Write(LOGLEVEL_ERROR, "SyncAppointment->Check(): timezone for a recurring appointment is not set.");
return false; return false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment