1
0
mirror of synced 2025-01-18 22:41:43 +03:00

[2.0][DDC-159] Fixed.

This commit is contained in:
romanb 2009-11-19 17:35:14 +00:00
parent 7db2f9abd9
commit 32e608e5e2

View File

@ -50,7 +50,7 @@ class XmlDriver extends AbstractFileDriver
if ($xmlRoot->getName() == 'entity') {
$metadata->setCustomRepositoryClass(
isset($xmlRoot['repository-class']) ? $xmlRoot['repository-class'] : null
isset($xmlRoot['repository-class']) ? (string)$xmlRoot['repository-class'] : null
);
} else if ($xmlRoot->getName() == 'mapped-superclass') {
$metadata->isMappedSuperclass = true;