Fix entity insert with array fields.
This commit is contained in:
parent
156401d73d
commit
136a6702f8
1 changed files with 4 additions and 0 deletions
|
@ -541,6 +541,10 @@ abstract class Entity
|
||||||
// Prepend property name by the prefix.
|
// Prepend property name by the prefix.
|
||||||
$propertyName = $prefix.$propertyName;
|
$propertyName = $prefix.$propertyName;
|
||||||
|
|
||||||
|
if (!($propertyDefinition instanceof FieldBlueprint))
|
||||||
|
// Ignore all properties that are not normal fields.
|
||||||
|
continue;
|
||||||
|
|
||||||
if (isset($this->$propertyName))
|
if (isset($this->$propertyName))
|
||||||
{ // If property is set, converting it.
|
{ // If property is set, converting it.
|
||||||
// Get property type.
|
// Get property type.
|
||||||
|
|
Loading…
Reference in a new issue