Author: leithoff
New Revision: 53201
URL: http://svn.stylite.de/viewvc/egroupware?rev=53201&view=rev
Log:
do not use SYNC_GAL_ALIAS within the result-set when not requested; as we do not request it. omit it completely
Modified:
trunk/addressbook/inc/class.addressbook_zpush.inc.php
Modified: trunk/addressbook/inc/class.addressbook_zpush.inc.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/addressbook/inc/class.addressbook_zpush.inc.php?rev=53201&r1=53200&r2=53201&view=diff
— trunk/addressbook/inc/class.addressbook_zpush.inc.php (original)
+++ trunk/addressbook/inc/class.addressbook_zpush.inc.php Fri Jul 24 14:08:21 2015
@@ -803,8 +803,8 @@
{
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'];
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs