Fix GroupDAV ctag issues

This commit is contained in:
Jörg Lehrke 2010-09-18 11:28:12 +00:00
parent 2e0e03205d
commit 901f5873bc
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);