forked from extern/egroupware
Etemplate - contact widget: Fix sometimes missing n_fn
This commit is contained in:
parent
f44a26432c
commit
7e51edf39d
@ -171,6 +171,11 @@ class Contact extends Entry
|
|||||||
}
|
}
|
||||||
unset($contact['jpegphoto']); // makes no sense to return binary image
|
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));
|
//error_log(__METHOD__."('$value') returning ".array2string($contact));
|
||||||
return $contact;
|
return $contact;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user