mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Fix issue with adding new entries from device
This commit is contained in:
parent
7eed120731
commit
b1a9d0f546
@ -311,7 +311,11 @@ class Horde_SyncML_Sync_TwoWaySync extends Horde_SyncML_Sync {
|
||||
return $currentCmdID;
|
||||
}
|
||||
|
||||
$guid_ts = $state->getSyncTSforAction($guid, 'modify');
|
||||
// first we try the modification timestamp then the creation ts
|
||||
if (!($guid_ts = $state->getSyncTSforAction($guid, 'modify'))) {
|
||||
$guid_ts = $state->getSyncTSforAction($guid, 'add');
|
||||
}
|
||||
|
||||
$sync_ts = $state->getChangeTS($syncType, $guid);
|
||||
Horde :: logMessage("SyncML: timestamp add $guid guid_ts: $guid_ts sync_ts: $sync_ts", __FILE__, __LINE__, PEAR_LOG_DEBUG);
|
||||
if ($sync_ts && $sync_ts == $guid_ts) {
|
||||
|
Loading…
Reference in New Issue
Block a user