Code

Updated objectclass condition
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 11 Jan 2010 10:23:32 +0000 (10:23 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 11 Jan 2010 10:23:32 +0000 (10:23 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15137 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_listing.inc

index 8802c2523962363adc9186a0581741114a999e76..a9c218123977de83aaf28eaeafd2437c157d9cf3 100644 (file)
@@ -860,7 +860,7 @@ class listing {
             continue;
           }
         } elseif (is_array($objectclass)) {
-          if(count(array_intersect($objectclass, $classes)) == count($objectclass)){
+          if(count(array_intersect($objectclass, $classes)) != count($objectclass)){
             $result.= "<img src='images/empty.png' alt=' ' class='center' style='padding:1px'>";
             continue;
           }