From 00f1a811a62a91c0847f6e008eec74e27b2cbb02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Lehrke?= Date: Tue, 1 Dec 2009 11:18:38 +0000 Subject: [PATCH] Fix 'enforce server' double adds --- phpgwapi/inc/horde/Horde/SyncML/Sync/TwoWaySync.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/horde/Horde/SyncML/Sync/TwoWaySync.php b/phpgwapi/inc/horde/Horde/SyncML/Sync/TwoWaySync.php index eb30c727c7..d68ba1ccfc 100644 --- a/phpgwapi/inc/horde/Horde/SyncML/Sync/TwoWaySync.php +++ b/phpgwapi/inc/horde/Horde/SyncML/Sync/TwoWaySync.php @@ -419,7 +419,7 @@ class Horde_SyncML_Sync_TwoWaySync extends Horde_SyncML_Sync { 'filter' => $this->_filterExpression )); - $state->mergeAddedItems($syncType, $addedItems); + $state->setAddedItems($syncType, $addedItems); $state->setDeletedItems($syncType, $registry->call($hordeType . '/listBy', array ( 'action' => 'delete',