New content_history approach for synchronization with all datastores

This commit is contained in:
Jörg Lehrke 2010-09-18 11:20:58 +00:00
parent 7727759510
commit 7c038d6a85

View File

@ -89,7 +89,7 @@ class EGW_SyncML_State extends Horde_SyncML_State
$userItems = array();
foreach($readableItems as $guid)
{
if (preg_match('/'.$_appName.'-(\d+)(:(\d+))?/', $guid, $matches))
if (preg_match('/.*-(\d+)(:(\d+))?/', $guid, $matches))
{
// We use only the real items' ids
$userItems[] = $matches[1];