From e5ed3f66ac8db9bbfc853873b0732069639aa446 Mon Sep 17 00:00:00 2001 From: beberlei Date: Fri, 19 Feb 2010 22:49:03 +0000 Subject: [PATCH] [2.0] DDC-351 - Fix Delete in JoinedSubclassPersister --- lib/Doctrine/ORM/Persisters/JoinedSubclassPersister.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Persisters/JoinedSubclassPersister.php b/lib/Doctrine/ORM/Persisters/JoinedSubclassPersister.php index 0879785cb..8f2c0b711 100644 --- a/lib/Doctrine/ORM/Persisters/JoinedSubclassPersister.php +++ b/lib/Doctrine/ORM/Persisters/JoinedSubclassPersister.php @@ -272,7 +272,7 @@ class JoinedSubclassPersister extends StandardEntityPersister public function delete($entity) { $id = array_combine( - $this->_class->identifier, + $this->_class->getIdentifierColumnNames(), $this->_em->getUnitOfWork()->getEntityIdentifier($entity) );