summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e4f8294)
raw | patch | inline | side by side (parent: e4f8294)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 25 Feb 2008 07:53:21 +0000 (07:53 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 25 Feb 2008 07:53:21 +0000 (07:53 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@9093 594d385d-05f5-0310-b6e9-bd551577e9d8
include/functions.inc | patch | blob | history |
diff --git a/include/functions.inc b/include/functions.inc
index 1365bc7ecf3155eed624a69eb4a1b2e050696b5d..70ab363acedfc872f34830b1a1dd11b2ae7d51fc 100644 (file)
--- a/include/functions.inc
+++ b/include/functions.inc
$tmp= array();
foreach ($attrs['objectClass'] as $oc) {
- if(!in_array($oc, $list)){
- $tmp[]= $oc;
+ foreach ($list as $class){
+ if ($oc != $class){
+ $tmp[]= $oc;
+ }
}
}
$attrs['objectClass']= $tmp;