mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-13 19:46:49 +01:00
Fix empty name in search results and error when creating a new contact
This commit is contained in:
@@ -348,7 +348,7 @@ function rcmail_contact_form($form, $record, $attrib = null)
|
||||
$content = '';
|
||||
|
||||
// unset display name if it is composed from name parts (same composition function as in save.inc)
|
||||
if ($record['name'] == rcube_addressbook::compose_display_name(array('name' => '') + $record))
|
||||
if ($record['name'] == rcube_addressbook::compose_display_name(array('name' => '') + (array)$record))
|
||||
unset($record['name']);
|
||||
|
||||
// group fields
|
||||
|
||||
Reference in New Issue
Block a user