XML export driver: fix export options
This commit is contained in:
parent
0059e01936
commit
c1eff7045a
@ -206,7 +206,8 @@ class XmlExporter extends AbstractExporter
|
||||
if (isset($field['options'])) {
|
||||
$optionsXml = $fieldXml->addChild('options');
|
||||
foreach ($field['options'] as $key => $value) {
|
||||
$optionsXml->addAttribute($key, $value);
|
||||
$optionXml = $optionsXml->addChild('option', $value);
|
||||
$optionXml->addAttribute('name', $key);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user