Commit ec5b650b authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #116 in ZP/z-push from...

Merge pull request #116 in ZP/z-push from bugfix/ZP-801-allow-all-day-recurring-event-without to develop

* commit 'feb9b279':
  ZP-801 allow all day reccuring events without timezone.
parents f9803a56 feb9b279
...@@ -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