Fix minor mistakes in Ldap/Connection

Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
This commit is contained in:
Marcus Cobden 2015-02-03 13:47:56 +00:00 committed by Eric Lippmann
parent ef75414066
commit 5f624e42fd
1 changed files with 2 additions and 2 deletions

View File

@ -375,7 +375,7 @@ class Connection
throw new LdapException(
sprintf(
'LDAP query "%s" (root %s) failed: %s',
$query,
$query->create(),
$this->root_dn,
ldap_error($this->ds)
)
@ -478,7 +478,7 @@ class Connection
throw new LdapException(
sprintf(
'TLS is required but not announced by %s',
$this->host_name
$this->hostname
)
);
} else {