1
0
mirror of synced 2025-01-18 06:21:40 +03:00

Merge branch 'DDC-1109'

This commit is contained in:
Benjamin Eberlei 2011-04-30 12:49:52 +02:00
commit 2c50faf5b2

View File

@ -1628,6 +1628,7 @@ class ClassMetadataInfo implements ClassMetadata
if (strpos($className, '\\') === false && strlen($this->namespace)) {
$className = $this->namespace . '\\' . $className;
}
$className = ltrim($className, '\\');
$this->discriminatorMap[$value] = $className;
if ($this->name == $className) {
$this->discriminatorValue = $value;