Code

Updated DN handling
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 21 Sep 2010 11:19:33 +0000 (11:19 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 21 Sep 2010 11:19:33 +0000 (11:19 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19787 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_ldap.inc

index 9f6a52bc00e80adee7a4a3922218eb3cdf8ac644..d531476cb3bb2a8dfe475c6c1084fe1fac92cef7 100644 (file)
@@ -141,11 +141,9 @@ class LDAP
 
                     // Append entry make readable array
                     LDAP::$readableMapRegFrom[] = "/".preg_quote($to,'/')."/";
-                    LDAP::$readableMapRegFrom[] = "/".preg_quote(stripslashes($to),'/')."/";
                     LDAP::$readableMapRegFrom[] = "/".preg_quote(LDAP::convert($to),'/')."/";
                     LDAP::$readableMapRegTo[] = stripslashes($from);
                     LDAP::$readableMapRegTo[] = stripslashes($from);
-                    LDAP::$readableMapRegTo[] = stripslashes($from);
                 }
             }else{
                 // To avoid querying a hundred times without any success, stop here.