fix mapper json type

This commit is contained in:
Yuri Kuznetsov
2014-09-19 18:45:03 +03:00
parent 837b324fe8
commit 6abc64fcb2
+2 -2
View File
@@ -864,9 +864,9 @@ abstract class Mapper implements IMapper
if ($type == IEntity::FOREIGN) {
continue;
}
}
if ($entity->getFetched($field) === $value) {
if ($entity->getFetched($field) === $value && $type != IEntity::JSON_ARRAY && $type != IEntity::JSON_OBJECT) {
continue;
}