Commit 6e9efb46 authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #903 from Lapayo/master

Fixed a little bug with the Input::has_file function
parents 0171cf8e f0514850
......@@ -205,7 +205,7 @@ class Input {
*/
public static function has_file($key)
{
return ! is_null(static::file("{$key}.tmp_name"));
return strlen(static::file("{$key}.tmp_name", "")) > 0;
}
/**
......
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