diff --git a/public_html/includes/class/class.LSldap.php b/public_html/includes/class/class.LSldap.php index dbe571bd..b6e5cbd8 100644 --- a/public_html/includes/class/class.LSldap.php +++ b/public_html/includes/class/class.LSldap.php @@ -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)) {