Fixing case.

This commit is contained in:
Michael Hagedon 2012-02-28 13:20:47 -07:00
parent ef80045fc5
commit 5eb4155236

View file

@ -232,9 +232,9 @@ class Xml {
}
if (array_keys($value) === range(0, count($value) - 1)) { // List
foreach ($value as $item) {
$item_data = compact('dom', 'node', 'key', 'format');
$item_data['value'] = $item;
self::_createChild($item_data);
$itemData = compact('dom', 'node', 'key', 'format');
$itemData['value'] = $item;
self::_createChild($itemData);
}
} else { // Struct
self::_createChild(compact('dom', 'node', 'key', 'value', 'format'));