diff --git a/system/arr.php b/system/arr.php index 622f75dd..5c2338b8 100644 --- a/system/arr.php +++ b/system/arr.php @@ -37,6 +37,11 @@ class Arr { */ public static function dot($array, $key, $default = null) { + if (is_null($key)) + { + return $array; + } + foreach (explode('.', $key) as $segment) { if ( ! isset($array[$segment]))