Merge pull-request #1966

This commit is contained in:
Frederic Guillot 2016-03-07 19:24:03 -05:00
commit 196c58e8d2
1 changed files with 1 additions and 1 deletions

View File

@ -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();