mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 09:59:06 +01:00
LSformElement_supannCompositeAttribute::getPostData(): fix handing empty form value
This commit is contained in:
parent
e8b8dd1730
commit
3161ace3b7
1 changed files with 6 additions and 1 deletions
|
@ -400,6 +400,11 @@ class LSformElement_supannCompositeAttribute extends LSformElement {
|
|||
}
|
||||
self :: log_debug($this." -> getPostData(): POST data = ".varDump($parseValues));
|
||||
|
||||
if (!$parseValue && $onlyIfPresent)
|
||||
return true;
|
||||
|
||||
$return[$this -> name] = array();
|
||||
|
||||
// Check extracted values
|
||||
$errors = array();
|
||||
foreach ($parseValues as $parseValue) {
|
||||
|
|
Loading…
Reference in a new issue