mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
do not use SYNC_GAL_ALIAS within the result-set when not requested; as we do not request it. omit it completely
This commit is contained in:
parent
5ef86e0b16
commit
eb2ec31a4e
@ -803,8 +803,8 @@ class addressbook_zpush implements activesync_plugin_write, activesync_plugin_se
|
||||
{
|
||||
foreach($contacts as $contact)
|
||||
{
|
||||
$item[SYNC_GAL_ALIAS] = $contact['contact_id'];
|
||||
$item[SYNC_GAL_LASTNAME] = $contact['n_family'];
|
||||
//$item[SYNC_GAL_ALIAS] = $contact['contact_id'];
|
||||
$item[SYNC_GAL_LASTNAME] = $contact['n_family']?$contact['n_family']:$contact['org_name'];
|
||||
$item[SYNC_GAL_FIRSTNAME] = $contact['n_given'];
|
||||
$item[SYNC_GAL_DISPLAYNAME] = $contact['n_fn'];
|
||||
if (!trim($item[SYNC_GAL_DISPLAYNAME])) $item[SYNC_GAL_DISPLAYNAME] = $contact['n_family']?$contact['n_family']:$contact['org_name'];
|
||||
|
Loading…
Reference in New Issue
Block a user