Skip to content

Commit

Permalink
Stricter detection of the NOTIFY policy.
Browse files Browse the repository at this point in the history
  • Loading branch information
romanb committed Jul 16, 2010
1 parent d86c2f6 commit a050030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Doctrine/ORM/UnitOfWork.php
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ public function computeChangeSet(Mapping\ClassMetadata $class, $entity)
// 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) {
Expand Down

0 comments on commit a050030

Please sign in to comment.