XML export driver: fix export options
This commit is contained in:
parent
0059e01936
commit
c1eff7045a
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue