summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ac3bd19)
raw | patch | inline | side by side (parent: ac3bd19)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 3 Mar 2010 10:29:25 +0000 (10:29 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 3 Mar 2010 10:29:25 +0000 (10:29 +0000) |
-Fixed problem with create missing trees
-if MUST or MAY were multiple values, we couldn't create missing trees anymore
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@15897 594d385d-05f5-0310-b6e9-bd551577e9d8
-if MUST or MAY were multiple values, we couldn't create missing trees anymore
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@15897 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_ldap.inc | patch | blob | history |
index af263e184ce2e20d7da94a5c1b93db695829b8bd..a1b6a87022d1cf05efebaac63ecfcb7ae7340ce0 100644 (file)
/* Get name of first matching objectClass */
$ocname= "";
foreach($classes as $class){
- if (isset($class['MUST']) && $class['MUST'] == "$type"){
+ if (isset($class['MUST']) && in_array($type, $class['MUST'])){
/* Look for first classes that is structural... */
if (isset($class['STRUCTURAL'])){