summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/mail/list_contacts.inc
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-02-11 11:28:58 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-02-11 11:28:58 +0000
commit220e993edcdcf9e5c4e3b8a1bacf9ac55468295b (patch)
treec26b1a2bdab7f4668e20f0e8d2e9bdacae51f60a /roundcubemail/program/steps/mail/list_contacts.inc
parent2f3bfecc096508226f66eaa152c65087c31ec9fe (diff)
User configurable setting how to display contact names in list
git-svn-id: https://svn.roundcube.net/trunk@5871 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/list_contacts.inc')
-rw-r--r--roundcubemail/program/steps/mail/list_contacts.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/list_contacts.inc b/roundcubemail/program/steps/mail/list_contacts.inc
index 23804b155..0791ae350 100644
--- a/roundcubemail/program/steps/mail/list_contacts.inc
+++ b/roundcubemail/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) {