forked from extern/egroupware
* CardDAV/GroupDAV/Addressbook: do NOT check for api version, as it caused accounts created during setup to have no carddav_name and therefore fail in CardDAV/GroupDAV (shown as "/addressbook/" in collection list!)
This commit is contained in:
parent
b44e108cea
commit
0003a93c11
@ -656,7 +656,7 @@ class addressbook_sql extends so_sql_cf
|
|||||||
//echo "<p>set uid={$this->data['uid']}, etag={$this->data['etag']}</p>";
|
//echo "<p>set uid={$this->data['uid']}, etag={$this->data['etag']}</p>";
|
||||||
}
|
}
|
||||||
// set carddav_name, if not given by caller
|
// set carddav_name, if not given by caller
|
||||||
if (empty($this->data['carddav_name']) && version_compare($GLOBALS['egw_info']['apps']['phpgwapi']['version'], '1.9.007', '>='))
|
if (empty($this->data['carddav_name']))
|
||||||
{
|
{
|
||||||
$update['carddav_name'] = $this->data['id'].'.vcf';
|
$update['carddav_name'] = $this->data['id'].'.vcf';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user