Code

Updated baseSelector autocompletition
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 21 Sep 2010 10:12:56 +0000 (10:12 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 21 Sep 2010 10:12:56 +0000 (10:12 +0000)
-Use readable strings here.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19786 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_baseSelector.inc

index 84d76e3d60b8b05e2b44a5de07d369704e3297e0..ab107dc7865d9297627bcc9c782f5ec9a46924a2 100644 (file)
@@ -92,7 +92,7 @@ class baseSelector {
             $elements= array_reverse($elements, true);
 
             $this->pathMapping[$base]= $base == $config->current['BASE']? '/' : ldap::fix(preg_replace('/(^|,)[a-z0-9]+=/i', '/', implode(',', $elements)));
-            $this->pathMapping[$base]= stripslashes(  $this->pathMapping[$base]);
+            $this->pathMapping[$base]= LDAP::makeReadable(  $this->pathMapping[$base]);
         }
 
         // Save bases to session for autocompletion