summaryrefslogtreecommitdiff
path: root/program/steps/mail/list_contacts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'program/steps/mail/list_contacts.inc')
-rw-r--r--program/steps/mail/list_contacts.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/list_contacts.inc b/program/steps/mail/list_contacts.inc
index 23804b155..0791ae350 100644
--- a/program/steps/mail/list_contacts.inc
+++ b/program/steps/mail/list_contacts.inc
@@ -68,7 +68,7 @@ if ($CONTACTS && $CONTACTS->ready) {
else if (!empty($result) && $result->count > 0) {
// create javascript list
while ($row = $result->next()) {
- $name = rcube_addressbook::compose_display_name($row, true);
+ $name = rcube_addressbook::compose_list_name($row);
// add record for every email address of the contact
foreach ($CONTACTS->get_col_values('email', $row, true) as $i => $email) {