diff --git a/src/Utility/Hash.php b/src/Utility/Hash.php index 7ff1ec080a6..cb7d664849c 100644 --- a/src/Utility/Hash.php +++ b/src/Utility/Hash.php @@ -350,11 +350,6 @@ protected static function _simpleOp($op, $data, $path, $values = null) $count = count($path); $last = $count - 1; foreach ($path as $i => $key) { - if ((is_numeric($key) && (int)$key > 0 || $key === '0') && - strpos($key, '0') !== 0 - ) { - $key = (int)$key; - } if ($op === 'insert') { if ($i === $last) { $_list[$key] = $values;