Fix missing contact ID for contacts from non-sql addressbooks

pull/5507/head
Aleksander Machniak 8 years ago
parent 391d0d2039
commit bd12d94fae

@ -96,7 +96,7 @@ if (!empty($book_types) && strlen($search)) {
$contact = array( $contact = array(
'name' => $contact, 'name' => $contact,
'type' => $sql_arr['_type'], 'type' => $sql_arr['_type'],
'id' => $sql_arr['contact_id'], 'id' => $sql_arr['ID'],
'source' => $abook_id, 'source' => $abook_id,
); );

Loading…
Cancel
Save