Permalink
Browse files

Fixing error in debugging. Array to string conversion error

  • Loading branch information...
1 parent b64eb9b commit 60ef0df31371b2fff866a71518e5697e854f11fd Jamie Hall committed with Jun 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Driver/LdapConnection.php
@@ -23,7 +23,7 @@ public function search($baseDn, $filter, array $attributes = array())
$this->connect();
}
- $this->logDebug("ldap_search($this->ldap_res, $baseDn, $filter, $attributes)");
+ $this->logDebug(sprintf("ldap_search(%s, %s, %s, %s)", $this->ldap_res, $baseDn, $filter, json_encode($attributes)));
$search = ldap_search($this->ldap_res, $baseDn, $filter, $attributes);
if ($search) {

0 comments on commit 60ef0df

Please sign in to comment.