Code

Updated listing class
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Dec 2009 12:17:50 +0000 (12:17 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Dec 2009 12:17:50 +0000 (12:17 +0000)
-Allow to override existing objectTypes

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14934 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_listing.inc

index 10c05d9652012ebf1b6fcb3bc843858a37747f95..934d024c7915b9d91613dd7162e72c9cb194f257 100644 (file)
@@ -730,6 +730,7 @@ class listing {
   function getObjectType($types, $classes)
   {
     // Walk thru types and see if there's something matching
+    $types=array_reverse($types);
     foreach ($types as $objectType) {
       $ocs= $objectType['objectClass'];
       if (!is_array($ocs)){