Etemplate - contact widget: Fix sometimes missing n_fn

This commit is contained in:
nathangray 2019-04-24 14:28:40 -06:00
parent f44a26432c
commit 7e51edf39d

View File

@ -171,6 +171,11 @@ class Contact extends Entry
}
unset($contact['jpegphoto']); // makes no sense to return binary image
if($contact && !$contact['n_fn'])
{
$this->contacts->fixup_contact($contact);
}
//error_log(__METHOD__."('$value') returning ".array2string($contact));
return $contact;
}