diff --git a/system/arr.php b/system/arr.php index 0e952c70..c69e5707 100644 --- a/system/arr.php +++ b/system/arr.php @@ -46,6 +46,8 @@ public static function get($array, $key, $default = null) */ public static function set(&$array, $key, $value) { + if (is_null($key)) return $array = $value; + $keys = explode('.', $key); while (count($keys) > 1)