Addressbook - find titles for contacts marked deleted too

Previously returned '' if a contact was marked as deleted
This commit is contained in:
nathangray 2019-06-12 14:11:31 -06:00
parent c259893926
commit 673bd330c9

View File

@ -1535,7 +1535,7 @@ class Contacts extends Contacts\Storage
function link_titles(array $ids)
{
$titles = array();
if (($contacts =& $this->search(array('contact_id' => $ids),false)))
if (($contacts =& $this->search(array('contact_id' => $ids),false,'',$extra_cols='','',False,'AND',False,array('tid'=>null))))
{
$ids = array();
foreach($contacts as $contact)