mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 18:09:06 +01:00
LSldap :: update() : Fixed notice PHP
This commit is contained in:
parent
cec517b46d
commit
b03b69eec9
1 changed files with 8 additions and 3 deletions
|
@ -293,9 +293,14 @@ class LSldap {
|
|||
$dropAttr[] = $attrName;
|
||||
}
|
||||
}
|
||||
if (isset($changeData)) {
|
||||
$entry -> replace($changeData);
|
||||
LSdebug('change : <pre>'.print_r($changeData,true).'</pre>');
|
||||
LSdebug('drop : <pre>'.print_r($dropAttr,true).'</pre>');
|
||||
}
|
||||
else {
|
||||
LSdebug('No change');
|
||||
}
|
||||
|
||||
if ($new) {
|
||||
LSdebug('LSldap :: add()');
|
||||
|
|
Loading…
Reference in a new issue