From 5f624e42fd6ffe9df9a1da8e2510cec9a66c091c Mon Sep 17 00:00:00 2001 From: Marcus Cobden Date: Tue, 3 Feb 2015 13:47:56 +0000 Subject: [PATCH] Fix minor mistakes in Ldap/Connection Signed-off-by: Eric Lippmann --- library/Icinga/Protocol/Ldap/Connection.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/Icinga/Protocol/Ldap/Connection.php b/library/Icinga/Protocol/Ldap/Connection.php index 6d23854d0..f10cd670e 100644 --- a/library/Icinga/Protocol/Ldap/Connection.php +++ b/library/Icinga/Protocol/Ldap/Connection.php @@ -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 {