mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 03:16:12 +00:00
(mvc) empty() <> ""
This commit is contained in:
parent
d92af436ff
commit
78366339ed
@ -275,7 +275,7 @@ abstract class BaseField
|
||||
public function setValue($value)
|
||||
{
|
||||
// if first set, store initial value
|
||||
if ($this->internalInitialValue === false && !empty($value)) {
|
||||
if ($this->internalInitialValue === false && $value != "") {
|
||||
$this->internalInitialValue = $value;
|
||||
}
|
||||
$this->internalValue = $value;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user