mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
fix for foldersync loop, when users calendar is empty and ctag=0
This commit is contained in:
parent
a8e8d82f64
commit
81a74f2069
@ -952,7 +952,8 @@ class calendar_activesync implements activesync_plugin_write
|
||||
|
||||
if (!isset($this->calendar)) $this->calendar = new calendar_boupdate();
|
||||
$ctag = $this->calendar->get_ctag($owner);
|
||||
|
||||
// workaround for syncstate = 0 when calendar is empty causes synctate to not return 0 but array resulting in foldersync loop
|
||||
if ($ctag == 0) $ctag = 1;
|
||||
$changes = array(); // no change
|
||||
$syncstate_was = $syncstate;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user