mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-11 06:28:40 +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;
|
$value = isset($value) ? $value->format('Y-m-d H:i:s') : null;
|
||||||
} elseif ($column['type'] === 'Json') {
|
} elseif ($column['type'] === 'Json') {
|
||||||
$value = isset($value) ? json_encode($value) : '';
|
$value = isset($value) ? json_encode($value) : '';
|
||||||
} elseif($column['type'] === 'Serialize') {
|
} elseif($column['type'] === 'Serializable') {
|
||||||
$value = $value->serialize();
|
$value = $value->serialize();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user