diff options
author | thomascube <thomas@roundcube.net> | 2012-02-11 11:28:58 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2012-02-11 11:28:58 +0000 |
commit | f9a967763e2a4cc595b44f40ac1ca666b2a02af6 (patch) | |
tree | acf8a043fe90dbe860888402f718608eaaee8344 /program/include/rcube_contacts.php | |
parent | d3ec72522b44e3c8d5ff29edecde866a9199f921 (diff) |
User configurable setting how to display contact names in list
Diffstat (limited to 'program/include/rcube_contacts.php')
-rw-r--r-- | program/include/rcube_contacts.php | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/program/include/rcube_contacts.php b/program/include/rcube_contacts.php index 1a4950d84..11fbde09a 100644 --- a/program/include/rcube_contacts.php +++ b/program/include/rcube_contacts.php @@ -254,13 +254,6 @@ class rcube_contacts extends rcube_addressbook $sql_arr['email'] = array_map('trim', $sql_arr['email']); } - // make sure we have a name to display - if (empty($sql_arr['name'])) { - if (empty($sql_arr['email'])) - $sql_arr['email'] = $this->get_col_values('email', $sql_arr, true); - $sql_arr['name'] = $sql_arr['email'][0]; - } - $this->result->add($sql_arr); } |