1
0
mirror of synced 2025-01-18 14:31:40 +03:00

[2.0][DDC-384] Fixed getReference problem with aliases.

This commit is contained in:
romanb 2010-03-04 12:45:41 +00:00
parent 0af8b66599
commit 715da59ded

View File

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