From b38442f9bc25d8ec2ec6c406cf7e3a3a938abad6 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 5 Jan 2010 16:00:59 +0000 Subject: [PATCH] Updated getEntry. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15062 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_listing.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.30.2