forked from extern/egroupware
Fix GroupDAV ctag issues
This commit is contained in:
parent
2e0e03205d
commit
901f5873bc
@ -393,11 +393,11 @@ class addressbook_groupdav extends groupdav_handler
|
|||||||
|
|
||||||
if (empty($result))
|
if (empty($result))
|
||||||
{
|
{
|
||||||
$ctag = $result[0]['contact_modified'];
|
$ctag = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$ctag = time();
|
$ctag = $result[0]['contact_modified'];
|
||||||
}
|
}
|
||||||
|
|
||||||
return 'EGw-'.$ctag.'-wGE';
|
return 'EGw-'.$ctag.'-wGE';
|
||||||
|
@ -513,7 +513,7 @@ class infolog_groupdav extends groupdav_handler
|
|||||||
|
|
||||||
$result =& $this->bo->search($query);
|
$result =& $this->bo->search($query);
|
||||||
|
|
||||||
if (empty($result)) return 'EGw-'.time().'-wGE';
|
if (empty($result)) return 'EGw-0-wGE';
|
||||||
|
|
||||||
$entry = array_shift($result);
|
$entry = array_shift($result);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user