Commit f0514850 authored by Simon's avatar Simon

Input::has_file was not working properly.

This one should work perfect :)
parent 97ceecd1
......@@ -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