1
0
mirror of synced 2025-01-19 06:51:40 +03:00

[DDC-802] Fixed wrong variable reference in XML exporter.

This commit is contained in:
Guilherme Blanco 2010-09-15 14:16:53 -03:00
parent da63bad9c8
commit 4845745337

View File

@ -109,7 +109,7 @@ class XmlExporter extends AbstractExporter
foreach ($metadata->table['uniqueConstraints'] as $unique) { foreach ($metadata->table['uniqueConstraints'] as $unique) {
$uniqueConstraintXml = $uniqueConstraintsXml->addChild('unique-constraint'); $uniqueConstraintXml = $uniqueConstraintsXml->addChild('unique-constraint');
$uniqueConstraintXml->addAttribute('name', $name); $uniqueConstraintXml->addAttribute('name', $unique['name']);
$uniqueConstraintXml->addAttribute('columns', implode(',', $unique['columns'])); $uniqueConstraintXml->addAttribute('columns', implode(',', $unique['columns']));
} }
} }