Thomas Bruederli
2014-03-11 398057960237918ee50c91c2e960e0472424f6c6
Avoid useless connection attempts if host is empty
1 files modified
2 ■■■ changed files
program/lib/Roundcube/rcube_ldap_generic.php 2 ●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_ldap_generic.php
@@ -160,7 +160,7 @@
                $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;
                }
            }