fix link one saver

This commit is contained in:
Yuri Kuznetsov
2021-11-25 17:12:04 +02:00
parent 18d6a6767b
commit da3283f2ba

View File

@@ -104,6 +104,10 @@ class Saver implements SaverInterface
return;
}
if (!$entity->isAttributeChanged($idAttribute)) {
return;
}
$id = $entity->get($idAttribute);
$defs = $this->entityManager->getDefs()->getEntity($entityType);