summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-03-07 19:24:03 -0500
committerFrederic Guillot <fred@kanboard.net>2016-03-07 19:24:03 -0500
commit196c58e8d29dabd3a076b2c70ede2c8bb517e964 (patch)
tree7acc6f966ca1b74b78a4d6b8d4a1713db5327280 /app
parent122d50262aed02a892c59f90a0565074ca5815f3 (diff)
parenta8abc70bcbcbb3f7f84ff2d0b0d0b6d87151fde0 (diff)
Merge pull-request #1966
Diffstat (limited to 'app')
-rw-r--r--app/Core/Ldap/Client.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Core/Ldap/Client.php b/app/Core/Ldap/Client.php
index e35e4ea0..05658190 100644
--- a/app/Core/Ldap/Client.php
+++ b/app/Core/Ldap/Client.php
@@ -31,7 +31,7 @@ class Client
*/
public static function connect($username = null, $password = null)
{
- $client = new self;
+ $client = new static;
$client->open($client->getLdapServer());
$username = $username ?: $client->getLdapUsername();
$password = $password ?: $client->getLdapPassword();