From 0b21046fce6312be094ca34df3a20da1d14d93f3 Mon Sep 17 00:00:00 2001 From: Patrick Schwisow Date: Fri, 21 Dec 2012 15:35:32 -0600 Subject: [PATCH] [DDC-1690] Added an empty line as requested. --- lib/Doctrine/ORM/UnitOfWork.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Doctrine/ORM/UnitOfWork.php b/lib/Doctrine/ORM/UnitOfWork.php index e6ab95321..0795c3ad0 100644 --- a/lib/Doctrine/ORM/UnitOfWork.php +++ b/lib/Doctrine/ORM/UnitOfWork.php @@ -2573,6 +2573,7 @@ class UnitOfWork implements PropertyChangedListener $newValueOid = spl_object_hash($newValue); $this->entityIdentifiers[$newValueOid] = $associatedId; $this->identityMap[$targetClass->rootEntityName][$relatedIdHash] = $newValue; + if ($newValue instanceof NotifyPropertyChanged) { $newValue->addPropertyChangedListener($this); }