fix file validation check in validator.

This commit is contained in:
Taylor Otwell
2011-11-27 19:05:54 -06:00
parent 472e377b02
commit 09b4471a5d

View File

@@ -219,10 +219,6 @@ class Validator {
{
return false;
}
elseif (is_array($value) and count($value) == 0)
{
return false;
}
elseif ( ! is_null(Input::file($attribute)) and $value['tmp_name'] == '')
{
return false;