* CardDAV/Addressbook: fixed not working sync-collection report eg. by eMclient, if server-time is different from user

This commit is contained in:
Ralf Becker 2013-08-02 14:42:09 +00:00
parent 2c10872886
commit 764cd33ab4

View File

@ -2266,7 +2266,9 @@ class addressbook_bo extends addressbook_so
}
else
{
$ctag = $result[0]['modified'];
// need to convert modified time back to server-time (was converted to user-time by search)
// as we use it direct in server-queries eg. CardDAV sync-report and to be consistent with CalDAV
$ctag = egw_time::user2server($result[0]['modified']);
}
//error_log(__METHOD__.'('.array2string($owner).') returning '.array2string($ctag));
return $ctag;