diff options
author | Jean-Louis Dupond <jean-louis@dupond.be> | 2012-10-23 00:12:15 +0200 |
---|---|---|
committer | Jean-Louis Dupond <jean-louis@dupond.be> | 2012-10-23 00:12:15 +0200 |
commit | 5526f98dca39121504e911baa806175a50e6901e (patch) | |
tree | 5861b526c61f885b4d5e837ba60f7ff6d2138eda /program | |
parent | 3715694887e6b234cc266ed72035e1716da119de (diff) |
Give option to hide DB address book with addressbook plugin
Diffstat (limited to 'program')
-rw-r--r-- | program/include/rcmail.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php index 7a49095f7..c2f76b388 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -258,8 +258,8 @@ class rcmail extends rcube $autocomplete = (array) $this->config->get('autocomplete_addressbooks'); $list = array(); - // We are using the DB address book - if ($abook_type != 'ldap') { + // We are using the DB address book or a plugin address book + if ($abook_type != 'ldap' && $abook_type != '') { if (!isset($this->address_books['0'])) $this->address_books['0'] = new rcube_contacts($this->db, $this->get_user_id()); $list['0'] = array( |