Commit 78366339 authored by Ad Schellevis's avatar Ad Schellevis

(mvc) empty() <> ""

parent d92af436
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment