summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ad16b7f)
raw | patch | inline | side by side (parent: ad16b7f)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 19 Dec 2006 10:40:09 +0000 (10:40 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 19 Dec 2006 10:40:09 +0000 (10:40 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5430 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_ldap.inc | patch | blob | history |
diff --git a/include/class_ldap.inc b/include/class_ldap.inc
index affcc67a902917d0917e8db73dda34b674f0f741..49ae221547f322c620710745d3765e2d54bc7307 100644 (file)
--- a/include/class_ldap.inc
+++ b/include/class_ldap.inc
print_red(_("Unknown FAIstate %s"),$type);
}
}elseif(in_array("gosaApplication",$attr['objectClass'])){
- $attr['objectClass'][] = "FAIobject";
+ if(!in_array("FAIobject",$attr['objectClass'])){
+ $attr['objectClass'][] = "FAIobject";
+ }
$attr['FAIstate'] = $type;
}