Code

Updated english strings
[gosa.git] / gosa-core / include / class_listing.inc
index 9f5c8c6b90c12e58f9850260eb981651faf9699a..bfc9c0735a2f92d51c02d637568023cd84faa39c 100644 (file)
@@ -1581,6 +1581,7 @@ class listing {
 
   function getEntry($dn)
   {
+    $dn = LDAP::fix($dn);
     foreach ($this->entries as $entry) {
       if (isset($entry['dn']) && strcasecmp($dn, $entry['dn']) == 0){
         return $entry;
@@ -1598,6 +1599,7 @@ class listing {
 
   function getType($dn)
   {
+    $dn = LDAP::fix($dn);
     if (isset($this->objectDnMapping[$dn])) {
       return $this->objectDnMapping[$dn];
     }