mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 22:43:47 +01:00
LSformElement :: date: fix getPostData() method
This commit is contained in:
parent
3c75ef482e
commit
42dd0aa728
1 changed files with 5 additions and 1 deletions
|
@ -236,7 +236,11 @@ class LSformElement_date extends LSformElement {
|
|||
}
|
||||
}
|
||||
else {
|
||||
$return[$this -> name] = ensureIsArray($special_values) + ensureIsArray($values);
|
||||
$return[$this -> name] = array();
|
||||
if ($special_values !== false)
|
||||
$return[$this -> name] += ensureIsArray($special_values);
|
||||
if ($values !== false)
|
||||
$return[$this -> name] += ensureIsArray($values);
|
||||
self :: log_trace($this." -> merged values=".varDump($return[$this -> name]));
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue