summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-12-03 16:37:11 +0100
committerArthur Schiwon <blizzz@owncloud.com>2013-12-04 18:58:52 +0100
commit01af3bdb0520de720b286a31cb1bb2b0e0c6f21c (patch)
treea4f1dd9d2a4fc2ce3ed52d77a1edc6253150862e /apps
parent06577f1fe2d3a164b188cf303b0077f6b54b9f57 (diff)
downloadnextcloud-server-01af3bdb0520de720b286a31cb1bb2b0e0c6f21c.tar.gz
nextcloud-server-01af3bdb0520de720b286a31cb1bb2b0e0c6f21c.zip
LDAP Wizard: return correct var
Diffstat (limited to 'apps')
-rw-r--r--apps/user_ldap/lib/wizard.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/wizard.php b/apps/user_ldap/lib/wizard.php
index 85bc5b70864..348a871e2b3 100644
--- a/apps/user_ldap/lib/wizard.php
+++ b/apps/user_ldap/lib/wizard.php
@@ -1000,7 +1000,7 @@ class Wizard extends LDAPUtility {
private function getConnection() {
if(!is_null($this->cr)) {
- return $cr;
+ return $this->cr;
}
$cr = $this->ldap->connect(
$this->configuration->ldapHost.':'.$this->configuration->ldapPort,