Use correct argument order.

This commit is contained in:
mark_story 2012-05-04 08:16:43 -04:00
parent 4ab6d37abb
commit ed1a64ca04

View file

@ -230,7 +230,7 @@ class Xml {
if ($key[0] === '@') {
throw new XmlException(__d('cake_dev', 'Invalid array'));
}
if (is_numeric(implode(array_keys($value), ''))) { // List
if (is_numeric(implode('', array_keys($value)))) { // List
foreach ($value as $item) {
$itemData = compact('dom', 'node', 'key', 'format');
$itemData['value'] = $item;