diff --git a/system/arr.php b/system/arr.php index 67e63e09..c3609d8d 100644 --- a/system/arr.php +++ b/system/arr.php @@ -22,7 +22,7 @@ public static function get($array, $key, $default = null) foreach (explode('.', $key) as $segment) { - if ( ! isset($array[$segment])) + if ( ! array_key_exists($segment, $array)) { return is_callable($default) ? call_user_func($default) : $default; }