From: hickert Date: Mon, 15 Mar 2010 08:45:54 +0000 (+0000) Subject: See revision 16510 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=89edf5b84f1f95d7a5ee7169169325d7ec42e1c4;p=gosa.git See revision 16510 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16511 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_ldap.inc b/gosa-core/include/class_ldap.inc index a1b6a8702..d75f800b4 100644 --- a/gosa-core/include/class_ldap.inc +++ b/gosa-core/include/class_ldap.inc @@ -709,8 +709,11 @@ class LDAP{ $na['objectClass'][]= 'locality'; } $na[$type]= $param; + + // Fill in MUST values - but do not overwrite existing ones. if (is_array($classes[$ocname]['MUST'])){ foreach($classes[$ocname]['MUST'] as $attr){ + if(isset($na[$attr]) && !empty($na[$attr])) continue; $na[$attr]= "filled"; } }