Aleksander Machniak
2014-07-05 224278cc4dd0c53f8da4379305b0fe2458633e1b
Fix bug where contacts with no email address were listed on compose addressbook (#1489970)
2 files modified
3 ■■■■ changed files
CHANGELOG 1 ●●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_contacts.php 2 ●●● patch | view | raw | blame | history
CHANGELOG
@@ -20,6 +20,7 @@
- Fix incorrect label translation in return receipt (#1489963)
- Fix security issue in delete-response action - allow only ajax request
- Fix Delete button state after deleting identity/response (#1489972)
- Fix bug where contacts with no email address were listed on compose addressbook (#1489970)
RELEASE 1.0.1
-------------
program/lib/Roundcube/rcube_contacts.php
@@ -264,7 +264,7 @@
            if ($read_vcard)
                $sql_arr = $this->convert_db_data($sql_arr);
            else {
                $sql_arr['email'] = explode(self::SEPARATOR, $sql_arr['email']);
                $sql_arr['email'] = $sql_arr['email'] ? explode(self::SEPARATOR, $sql_arr['email']) : array();
                $sql_arr['email'] = array_map('trim', $sql_arr['email']);
            }