mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-16 08:28:41 +00:00
Type fix
This commit is contained in:
parent
e7f2e1d71c
commit
c2d3672803
|
|
@ -260,7 +260,7 @@ abstract class DataMapperAbstract implements DataMapperInterface
|
|||
$value = isset($value) ? $value->format('Y-m-d H:i:s') : null;
|
||||
} elseif ($column['type'] === 'Json') {
|
||||
$value = isset($value) ? json_encode($value) : '';
|
||||
} elseif($column['type'] === 'Serialize') {
|
||||
} elseif($column['type'] === 'Serializable') {
|
||||
$value = $value->serialize();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user