From 1123f39cf453ba61917a09f2440e5d8bf32b868f Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Wed, 2 Nov 2016 13:22:26 +0100 Subject: [PATCH] Fix missing contact ID for contacts from non-sql addressbooks --- program/steps/mail/autocomplete.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/steps/mail/autocomplete.inc b/program/steps/mail/autocomplete.inc index 6ccbd9282..9964b1b37 100644 --- a/program/steps/mail/autocomplete.inc +++ b/program/steps/mail/autocomplete.inc @@ -96,7 +96,7 @@ if (!empty($book_types) && strlen($search)) { $contact = array( 'name' => $contact, 'type' => $sql_arr['_type'], - 'id' => $sql_arr['contact_id'], + 'id' => $sql_arr['ID'], 'source' => $abook_id, );