This commit is contained in:
parent
0d0b69615a
commit
b4ce0c89ed
@ -190,7 +190,7 @@ class Model {
|
||||
$this->data[$key] = $value;
|
||||
}
|
||||
|
||||
if($options['default']!==null && $newgen === true && !$value)
|
||||
if($options['default']!==null && $newgen === true && !isset($value))
|
||||
{
|
||||
$value = $options['default'];
|
||||
$this->data[$key] = $value;
|
||||
|
Reference in New Issue
Block a user