program/include/rcube_contacts.php
@@ -250,13 +250,6 @@ $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); }