mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixing case.
This commit is contained in:
parent
ef80045fc5
commit
5eb4155236
1 changed files with 3 additions and 3 deletions
|
@ -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'));
|
||||
|
|
Loading…
Reference in a new issue