mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-19 06:53:53 +01:00
LSformElement :: password: fix PHP warning
This commit is contained in:
parent
f8f24df2dd
commit
bf054a839d
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ class LSformElement_password extends LSformElement {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this -> verifyPassword($return[$this -> name][0]) || (empty($return[$this -> name][0]) && empty($val))) {
|
if (($return[$this -> name] && $this -> verifyPassword($return[$this -> name][0])) || ((empty($return[$this -> name][0])) && empty($val))) {
|
||||||
self :: log_debug('getPostData('.$this -> name.'): no change');
|
self :: log_debug('getPostData('.$this -> name.'): no change');
|
||||||
unset($return[$this -> name]);
|
unset($return[$this -> name]);
|
||||||
$this -> form -> _notUpdate[$this -> name] = true;
|
$this -> form -> _notUpdate[$this -> name] = true;
|
||||||
|
|
Loading…
Reference in a new issue