Fix GroupDAV ctag issues

This commit is contained in:
Jörg Lehrke 2010-09-18 11:17:05 +00:00
parent 6e120aacbc
commit 7727759510
2 changed files with 3 additions and 3 deletions

View File

@ -393,11 +393,11 @@ class addressbook_groupdav extends groupdav_handler
if (empty($result))
{
$ctag = $result[0]['contact_modified'];
$ctag = 0;
}
else
{
$ctag = time();
$ctag = $result[0]['contact_modified'];
}
return 'EGw-'.$ctag.'-wGE';

View File

@ -513,7 +513,7 @@ class infolog_groupdav extends groupdav_handler
$result =& $this->bo->search($query);
if (empty($result)) return 'EGw-'.time().'-wGE';
if (empty($result)) return 'EGw-0-wGE';
$entry = array_shift($result);