summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-05-13 17:51:28 +0000
committerthomascube <thomas@roundcube.net>2011-05-13 17:51:28 +0000
commit445a4ca04dfcd255f9d89ee76757b04c2d87bbfc (patch)
tree5c856d680807fac621ca4472b0c0d85e80888048 /program/steps
parent8e99ffbcaccf83602a47b2be230eb4dd2f106399 (diff)
Fix empty name in search results and error when creating a new contact
Diffstat (limited to 'program/steps')
-rw-r--r--program/steps/addressbook/func.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/addressbook/func.inc b/program/steps/addressbook/func.inc
index c36108784..8b4a9f10f 100644
--- a/program/steps/addressbook/func.inc
+++ b/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