mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-24 06:48:40 +01:00
need to use private cfs too for $ignore_acl=true
This commit is contained in:
parent
4928552534
commit
a0f707eaea
@ -206,7 +206,9 @@ abstract class bo_merge
|
|||||||
if (!is_array($contact)) return array();
|
if (!is_array($contact)) return array();
|
||||||
|
|
||||||
$replacements = array();
|
$replacements = array();
|
||||||
foreach(array_keys($this->contacts->contact_fields) as $name)
|
$fields = $this->contacts->contact_fields;
|
||||||
|
if ($ignore_acl) $fields = array_unique(array_merge($fields, array_keys(egw_customfields::get('addressbook', true))));
|
||||||
|
foreach($fields as $name)
|
||||||
{
|
{
|
||||||
$value = $contact[$name];
|
$value = $contact[$name];
|
||||||
switch($name)
|
switch($name)
|
||||||
|
Loading…
Reference in New Issue
Block a user