mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-21 13:28:46 +01:00
* CardDAV/Addressbook/PostgreSQL: fix SQL error, remove MySQL only FROM_UNIXTIME with our db abstration version
This commit is contained in:
parent
12752f65d9
commit
abf882d290
@ -292,7 +292,7 @@ class addressbook_groupdav extends Api\CalDAV\Handler
|
|||||||
if ($sync_collection_report)
|
if ($sync_collection_report)
|
||||||
{
|
{
|
||||||
list(,$sync_token) = explode('>', $filter[0]);
|
list(,$sync_token) = explode('>', $filter[0]);
|
||||||
$where[] = 'list_modified>FROM_UNIXTIME('.(int)$sync_token.')';
|
if ((int)$sync_token) $where[] = 'list_modified>'.$GLOBALS['egw']->db->from_unixtime((int)$sync_token);
|
||||||
}
|
}
|
||||||
if (isset($filter[self::$path_attr])) // multiget report?
|
if (isset($filter[self::$path_attr])) // multiget report?
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user