summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-03-11 09:34:26 +0100
committerAleksander Machniak <alec@alec.pl>2014-03-11 09:34:26 +0100
commit723a26cff86b60768a4207c1edd222fd6604d1fd (patch)
treeffac74d3f09aa90f770ae269bd96674736cb8b54 /program
parent98e582148a516433327aa1dd1a362dfe2d5dc8c6 (diff)
parent398057960237918ee50c91c2e960e0472424f6c6 (diff)
Merge branch 'master' of github.com:roundcube/roundcubemail
Diffstat (limited to 'program')
-rw-r--r--program/lib/Roundcube/rcube_ldap_generic.php2
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;
}
}