1
0
mirror of synced 2025-01-31 12:32:59 +03:00

Stricter detection of the NOTIFY policy.

This commit is contained in:
Roman S. Borschel 2010-07-16 11:16:06 +02:00
parent d86c2f6709
commit a05003016b

View File

@ -453,7 +453,7 @@ class UnitOfWork implements PropertyChangedListener
// Entity is "fully" MANAGED: it was already fully persisted before
// and we have a copy of the original data
$originalData = $this->originalEntityData[$oid];
$isChangeTrackingNotify = isset($this->entityChangeSets[$oid]);
$isChangeTrackingNotify = $class->isChangeTrackingNotify();
$changeSet = $isChangeTrackingNotify ? $this->entityChangeSets[$oid] : array();
foreach ($actualData as $propName => $actualValue) {