mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-26 19:54:46 +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;
|
$dropAttr[] = $attrName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (isset($changeData)) {
|
||||||
$entry -> replace($changeData);
|
$entry -> replace($changeData);
|
||||||
LSdebug('change : <pre>'.print_r($changeData,true).'</pre>');
|
LSdebug('change : <pre>'.print_r($changeData,true).'</pre>');
|
||||||
LSdebug('drop : <pre>'.print_r($dropAttr,true).'</pre>');
|
LSdebug('drop : <pre>'.print_r($dropAttr,true).'</pre>');
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
LSdebug('No change');
|
||||||
|
}
|
||||||
|
|
||||||
if ($new) {
|
if ($new) {
|
||||||
LSdebug('LSldap :: add()');
|
LSdebug('LSldap :: add()');
|
||||||
|
|
Loading…
Reference in a new issue