summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
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();