We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c14982d commit 54dca10Copy full SHA for 54dca10
app/code/core/Mage/Api2/Model/Renderer/Xml.php
@@ -105,7 +105,7 @@ protected function _prepareData($data, $root = false)
105
}
106
107
$data = $data instanceof Varien_Object ? $data->toArray() : (array)$data;
108
- $isAssoc = !preg_match('/^\d+$/', implode(array_keys($data), ''));
+ $isAssoc = !preg_match('/^\d+$/', implode('', array_keys($data)));
109
110
$preparedData = array();
111
foreach ($data as $key => $value) {
0 commit comments