mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-22 08:23:49 +01:00
LSldap : fixed problem with empty attribute on adding
This commit is contained in:
parent
673a8600f8
commit
186279bab4
1 changed files with 1 additions and 1 deletions
|
@ -321,7 +321,7 @@ class LSldap {
|
|||
LSerror :: addErrorCode(0,'NetLdap-Error : '.$ret->getMessage());
|
||||
}
|
||||
else {
|
||||
if (!empty($dropAttr)) {
|
||||
if (!empty($dropAttr) && !$new) {
|
||||
foreach($dropAttr as $attr) {
|
||||
$value = $entry -> getValue($attr);
|
||||
if(Net_LDAP2::isError($value) || empty($value)) {
|
||||
|
|
Loading…
Reference in a new issue