Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing case.

  • Loading branch information...
commit 5eb4155236b7a2e8ffd2e882affe40511b32ef99 1 parent ef80045
@michaelhagedon michaelhagedon authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/Cake/Utility/Xml.php
View
6 lib/Cake/Utility/Xml.php
@@ -232,9 +232,9 @@ protected static function _fromArray($dom, $node, &$data, $format) {
}
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'));
Please sign in to comment.
Something went wrong with that request. Please try again.