From c5a2752e8a3e2480eab4a7adaed9189225476b4a Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Fri, 8 Jul 2011 08:24:57 -0700 Subject: [PATCH] Refactoring Input class. --- system/input.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/input.php b/system/input.php index f5d59a05..0cf4a223 100644 --- a/system/input.php +++ b/system/input.php @@ -78,7 +78,7 @@ public static function file($key = null, $default = null) { list($file, $key) = explode('.', $key); - return (isset($_FILES[$file][$key])) ? $_FILES[$file][$key] : $default; + return Arr::get($_FILES[$file], $key, $default); } return Arr::get($_FILES, $key, $default);