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

Merge pull request #444 from goetas/xmlfix

Fixed some typo error in XML Exporter
This commit is contained in:
Benjamin Eberlei 2012-10-05 14:16:59 -07:00
commit a5e043e6e6

View File

@ -76,10 +76,12 @@ class XmlExporter extends AbstractExporter
}
if ($metadata->discriminatorColumn) {
$discriminatorColumnXml = $root->addChild('discriminiator-column');
$discriminatorColumnXml = $root->addChild('discriminator-column');
$discriminatorColumnXml->addAttribute('name', $metadata->discriminatorColumn['name']);
$discriminatorColumnXml->addAttribute('type', $metadata->discriminatorColumn['type']);
$discriminatorColumnXml->addAttribute('length', $metadata->discriminatorColumn['length']);
if (isset($metadata->discriminatorColumn['length'])) {
$discriminatorColumnXml->addAttribute('length', $metadata->discriminatorColumn['length']);
}
}
if ($metadata->discriminatorMap) {