summaryrefslogtreecommitdiff
path: root/program/include/rcube_contacts.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2012-02-11 13:50:04 +0000
committerthomascube <thomas@roundcube.net>2012-02-11 13:50:04 +0000
commit4dc22dd63417d6043489898d6ff9ac551c1b4231 (patch)
tree56941762ef893dc134882b32671dc47f0ab5c1ad /program/include/rcube_contacts.php
parentba36dd03f6f7005a6e35ec02e4ff9a58f95be1c3 (diff)
Backported r5871 to 0.7 release branch
Diffstat (limited to 'program/include/rcube_contacts.php')
-rw-r--r--program/include/rcube_contacts.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/program/include/rcube_contacts.php b/program/include/rcube_contacts.php
index 7cd317981..a2ee77ed3 100644
--- a/program/include/rcube_contacts.php
+++ b/program/include/rcube_contacts.php
@@ -250,13 +250,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);
}