[2.0] DDC-351 - Fix Delete in JoinedSubclassPersister
This commit is contained in:
parent
d5fd881c27
commit
e5ed3f66ac
@ -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)
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user