Commit e5ed3f66 authored by beberlei's avatar beberlei

[2.0] DDC-351 - Fix Delete in JoinedSubclassPersister

parent d5fd881c
......@@ -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)
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment