diff --git a/helpers/array_helper.php b/helpers/array_helper.php index 13c33aa..50fb13c 100644 --- a/helpers/array_helper.php +++ b/helpers/array_helper.php @@ -27,7 +27,6 @@ function arrayToObject($array = array()) $countArray = count($array); if ($countArray > 0) { foreach ($array as $name => $value) { - $name = trim($name); if (!empty($name)) { $object->$name = arrayToObject($value); }