From: hickert Date: Tue, 21 Sep 2010 06:41:56 +0000 (+0000) Subject: Added debug info X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bf33836fa8d666113f4c0062acaf3a0b4508599c;p=gosa.git Added debug info git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19774 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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"); }