1
0
mirror of synced 2025-02-02 21:41:45 +03:00
This commit is contained in:
Guilherme Blanco 2016-02-16 03:21:53 +00:00
parent d814ad7234
commit 86cde3a9df

View File

@ -1049,7 +1049,7 @@ class UnitOfWork implements PropertyChangedListener
}
if ($preUpdateInvoke != ListenersInvoker::INVOKE_NONE) {
$this->listenersInvoker->invoke($class, Events::preUpdate, $entity, new PreUpdateEventArgs($entity, $this->em, $this->entityChangeSets[$oid]), $preUpdateInvoke);
$this->listenersInvoker->invoke($class, Events::preUpdate, $entity, new PreUpdateEventArgs($entity, $this->em, $this->getEntityChangeSet($entity)), $preUpdateInvoke);
$this->recomputeSingleEntityChangeSet($class, $entity);
}