From 02c1b6ef6b4e94ada185f58138a22d01b6598553 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 26 Apr 2010 14:10:08 +0000 Subject: [PATCH] Fixed getType and getEntry in class_listing git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17847 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_listing.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gosa-core/include/class_listing.inc b/gosa-core/include/class_listing.inc index 9f5c8c6b9..bfc9c0735 100644 --- a/gosa-core/include/class_listing.inc +++ b/gosa-core/include/class_listing.inc @@ -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]; } -- 2.30.2