diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-03-11 09:34:26 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-03-11 09:34:26 +0100 |
commit | 723a26cff86b60768a4207c1edd222fd6604d1fd (patch) | |
tree | ffac74d3f09aa90f770ae269bd96674736cb8b54 /program/lib/Roundcube/rcube_ldap_generic.php | |
parent | 98e582148a516433327aa1dd1a362dfe2d5dc8c6 (diff) | |
parent | 398057960237918ee50c91c2e960e0472424f6c6 (diff) |
Merge branch 'master' of github.com:roundcube/roundcubemail
Diffstat (limited to 'program/lib/Roundcube/rcube_ldap_generic.php')
-rw-r--r-- | program/lib/Roundcube/rcube_ldap_generic.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_ldap_generic.php b/program/lib/Roundcube/rcube_ldap_generic.php index b85afe4ce..f1048ef39 100644 --- a/program/lib/Roundcube/rcube_ldap_generic.php +++ b/program/lib/Roundcube/rcube_ldap_generic.php @@ -160,7 +160,7 @@ class rcube_ldap_generic $this->config['hosts'] = array($this->config['hosts']); foreach ($this->config['hosts'] as $host) { - if ($this->connect($host)) { + if (!empty($host) && $this->connect($host)) { return true; } } |