Commit c5a2752e by Taylor Otwell

Refactoring Input class.

parent c2b7e60b
......@@ -78,7 +78,7 @@ class Input {
{
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment