[2.0][DDC-384] Fixed getReference problem with aliases.
This commit is contained in:
parent
0af8b66599
commit
715da59ded
@ -315,7 +315,7 @@ class EntityManager
|
||||
if ( ! is_array($identifier)) {
|
||||
$identifier = array($class->identifier[0] => $identifier);
|
||||
}
|
||||
$entity = $this->_proxyFactory->getProxy($entityName, $identifier);
|
||||
$entity = $this->_proxyFactory->getProxy($class->name, $identifier);
|
||||
$this->_unitOfWork->registerManaged($entity, $identifier, array());
|
||||
|
||||
return $entity;
|
||||
|
Loading…
x
Reference in New Issue
Block a user