summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-01-17 13:46:32 +0100
committerArthur Schiwon <blizzz@owncloud.com>2013-01-17 13:46:32 +0100
commit59a6068246c4012955e3b2b49e44426eedcc923b (patch)
treec258c93c4e7f24a5c48e041abe9f960996f819d8 /apps/user_ldap/lib
parent3d56cf3a5b29e0c75f98646eafd22ee8cb7749dc (diff)
downloadnextcloud-server-59a6068246c4012955e3b2b49e44426eedcc923b.tar.gz
nextcloud-server-59a6068246c4012955e3b2b49e44426eedcc923b.zip
fix undeclared variable
Diffstat (limited to 'apps/user_ldap/lib')
-rw-r--r--apps/user_ldap/lib/connection.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/user_ldap/lib/connection.php b/apps/user_ldap/lib/connection.php
index a22246c7091..9eab692bef8 100644
--- a/apps/user_ldap/lib/connection.php
+++ b/apps/user_ldap/lib/connection.php
@@ -351,6 +351,8 @@ class Connection {
if(!$this->config['ldapOverrideMainServer'] && !$this->getFromCache('overrideMainServer')) {
$this->doConnect($this->config['ldapHost'], $this->config['ldapPort']);
$bindStatus = $this->bind();
+ } else {
+ $bindStatus = false;
}
$error = null;