summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-05-13 17:51:28 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-05-13 17:51:28 +0000
commitf4938a7920c149bb3298298880530b514c99772f (patch)
treefc7eb987e507d2a787a9f1aaa057e6608595095b /roundcubemail/program/steps
parentf2c1c5270cdf233869294c926f847f94832ebe14 (diff)
Fix empty name in search results and error when creating a new contact
git-svn-id: https://svn.roundcube.net/trunk@4764 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
-rw-r--r--roundcubemail/program/steps/addressbook/func.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/addressbook/func.inc b/roundcubemail/program/steps/addressbook/func.inc
index c36108784..8b4a9f10f 100644
--- a/roundcubemail/program/steps/addressbook/func.inc
+++ b/roundcubemail/program/steps/addressbook/func.inc
@@ -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