From b6d056a23729ef1dc33c2ab3cf5ed2a8bf8a8e1c Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 23 Mar 2019 10:49:36 +0100 Subject: [PATCH] no need to search for etag --- mail/inc/class.mail_compose.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/inc/class.mail_compose.inc.php b/mail/inc/class.mail_compose.inc.php index 3c25912a4e..167ab82152 100644 --- a/mail/inc/class.mail_compose.inc.php +++ b/mail/inc/class.mail_compose.inc.php @@ -3590,7 +3590,7 @@ class mail_compose $search_str = implode(' +', $search); // tell contacts/so_sql to AND search patterns //error_log(__METHOD__.__LINE__.$_searchString); $filter = $showAccounts ? array() : array('account_id' => null); - $filter['cols_to_search'] = array('n_prefix','n_given','n_family','org_name','email','email_home', 'contact_id', 'etag'); + $filter['cols_to_search'] = array('n_prefix','n_given','n_family','org_name','email','email_home', 'contact_id'); $cols = array('n_fn','n_prefix','n_given','n_family','org_name','email','email_home', 'contact_id', 'etag'); $contacts = $contacts_obj->search($search_str, $cols, 'n_fn', '', '%', false, 'OR', array(0,100), $filter); $cfs_type_email = Api\Storage\Customfields::get_email_cfs('addressbook');