From f9a967763e2a4cc595b44f40ac1ca666b2a02af6 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Sat, 11 Feb 2012 06:28:58 -0500
Subject: [PATCH] User configurable setting how to display contact names in list

---
 program/steps/mail/list_contacts.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/steps/mail/list_contacts.inc b/program/steps/mail/list_contacts.inc
index 23804b1..0791ae3 100644
--- a/program/steps/mail/list_contacts.inc
+++ b/program/steps/mail/list_contacts.inc
@@ -68,7 +68,7 @@
     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) {

--
Gitblit v1.9.1