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

View File

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