From 90a79e81313e0ffbff187498308cd30465efa37d Mon Sep 17 00:00:00 2001 From: dsteiner23 Date: Sat, 9 Aug 2014 09:47:21 +0200 Subject: [PATCH] Data has to be encoded, since the logger is calling an json_encode(). Without encoding it will crash with german umlauts --- Manager/LdapConnection.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Manager/LdapConnection.php b/Manager/LdapConnection.php index fbeba86..d0930fc 100644 --- a/Manager/LdapConnection.php +++ b/Manager/LdapConnection.php @@ -39,8 +39,8 @@ public function search(array $params) $this->info( sprintf('ldap_search base_dn %s, filter %s', - print_r($params['base_dn'], true), - print_r($params['filter'], true) + print_r(utf8_encode($params['base_dn']), true), + print_r(utf8_encode($params['filter']), true) )); $search = @ldap_search(