summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authorThomas B. <thomas@roundcube.net>2012-10-27 05:29:00 -0700
committerThomas B. <thomas@roundcube.net>2012-10-27 05:29:00 -0700
commitf2d3fc1b5d66013c265d82891b8526389303eff3 (patch)
treecd62c6aa0325effa5251a0978de972b970fe7966 /program/include
parent8fa22e9c2f3a38985464252045e57b6be4eb76ae (diff)
parent5526f98dca39121504e911baa806175a50e6901e (diff)
Merge pull request #38 from dupondje/master
Option to hide SQL addressbook
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcmail.php4
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(