1
0
mirror of synced 2024-12-13 06:46:03 +03:00

[2.0] DDC-351 - Fix Delete in JoinedSubclassPersister

This commit is contained in:
beberlei 2010-02-19 22:49:03 +00:00
parent d5fd881c27
commit e5ed3f66ac

View File

@ -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)
);