FIX: Tipo Cuenta
This commit is contained in:
@ -62,7 +62,11 @@ class Mapper implements Define\Repository\Mapper
|
||||
}
|
||||
$value = $data[$column];
|
||||
if ($this->hasFunction()) {
|
||||
$value = ($this->function)($data);
|
||||
if ($value !== null) {
|
||||
$value = ($this->function)($data);
|
||||
} elseif ($this->hasDefault()) {
|
||||
$value = $this->default;
|
||||
}
|
||||
}
|
||||
$model->{$property} = $value;
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user