forked from extern/egroupware
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