Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
Albert Cansado Solà authored and Albert Cansado Solà committed Jun 23, 2017
1 parent 3d9e873 commit b2f6a46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ORM/Marshaller.php
Expand Up @@ -589,7 +589,7 @@ public function merge(EntityInterface $entity, array $data, array $options = [])
if (array_key_exists($field, $properties)) {
$entity->set($field, $properties[$field]);
if ($properties[$field] instanceof EntityInterface) {
$entity->isDirty($field, $properties[$field]->isDirty());
$entity->setDirty($field, $properties[$field]->isDirty());
}
}
}
Expand Down

0 comments on commit b2f6a46

Please sign in to comment.