mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Use correct argument order.
This commit is contained in:
parent
4ab6d37abb
commit
ed1a64ca04
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ class Xml {
|
||||||
if ($key[0] === '@') {
|
if ($key[0] === '@') {
|
||||||
throw new XmlException(__d('cake_dev', 'Invalid array'));
|
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) {
|
foreach ($value as $item) {
|
||||||
$itemData = compact('dom', 'node', 'key', 'format');
|
$itemData = compact('dom', 'node', 'key', 'format');
|
||||||
$itemData['value'] = $item;
|
$itemData['value'] = $item;
|
||||||
|
|
Loading…
Reference in a new issue