diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-08-14 18:55:38 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-08-14 18:55:38 +0200 |
commit | 519e380f637cbc8d2b5c3d7a0d34508ac17d57d8 (patch) | |
tree | 0faa5eead671c4e47139e165dba82b27d762fae2 /program/include/rcube_ldap.php | |
parent | 413df054ad3235c59c24e897b616c569adc4f67b (diff) | |
parent | 56689b31ae3746600b12a9c5c9ec1438e704a6e7 (diff) |
Merge branch 'master' of github.com:roundcube/roundcubemail
Diffstat (limited to 'program/include/rcube_ldap.php')
-rw-r--r-- | program/include/rcube_ldap.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_ldap.php b/program/include/rcube_ldap.php index 7f51b8fa7..dbab0fd06 100644 --- a/program/include/rcube_ldap.php +++ b/program/include/rcube_ldap.php @@ -767,9 +767,9 @@ class rcube_ldap extends rcube_addressbook } // use VLV pseudo-search for autocompletion - $rcmail = rcmail::get_instance(); + $rcube = rcube::get_instance(); - if ($this->prop['vlv_search'] && $this->conn && join(',', (array)$fields) == join(',', $rcmail->config->get('contactlist_fields'))) + if ($this->prop['vlv_search'] && $this->conn && join(',', (array)$fields) == join(',', $rcube->config->get('contactlist_fields'))) { // add general filter to query if (!empty($this->prop['filter']) && empty($this->filter)) |