From bf33836fa8d666113f4c0062acaf3a0b4508599c Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 21 Sep 2010 06:41:56 +0000 Subject: [PATCH] Added debug info git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19774 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_ldap.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gosa-core/include/class_ldap.inc b/gosa-core/include/class_ldap.inc index f2d786729..dcd047d6f 100644 --- a/gosa-core/include/class_ldap.inc +++ b/gosa-core/include/class_ldap.inc @@ -122,12 +122,17 @@ class LDAP // Check if character-detection was successfull, if it wasn't use a fallback. if(LDAP::$characterMap){ + LDAP::$characterMapRegFrom = array(); + LDAP::$characterMapRegTo = array(); foreach(LDAP::$characterMap as $from => $to){ LDAP::$characterMapRegFrom[] = "/{$from}/"; LDAP::$characterMapRegTo[] = "/{$to}/"; } } } + + $attrs = array(implode(LDAP::$characterMapRegFrom,', '),implode(LDAP::$characterMapRegTo,', ')); + @DEBUG(DEBUG_LDAP,__LINE__,__FUNCTION__,__FILE__,$attrs,"Detected special-char handling for LDAP actions"); } -- 2.30.2