fix file validation check in validator.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user