From: hickert Date: Tue, 5 Jan 2010 16:00:59 +0000 (+0000) Subject: Updated getEntry. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b38442f9bc25d8ec2ec6c406cf7e3a3a938abad6;p=gosa.git Updated getEntry. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15062 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_listing.inc b/gosa-core/include/class_listing.inc index 749bc30d1..5c5e9c43d 100644 --- a/gosa-core/include/class_listing.inc +++ b/gosa-core/include/class_listing.inc @@ -1506,7 +1506,7 @@ class listing { function getEntry($dn) { foreach ($this->entries as $entry) { - if (isset($entry['dn']) && strcasecmp($dn, $entry['dn'])){ + if (isset($entry['dn']) && strcasecmp($dn, $entry['dn']) == 0){ return $entry; } }