From: hickert Date: Mon, 26 Apr 2010 14:10:08 +0000 (+0000) Subject: Fixed getType and getEntry in class_listing X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=02c1b6ef6b4e94ada185f58138a22d01b6598553;p=gosa.git Fixed getType and getEntry in class_listing git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17847 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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]; }