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
1 changed files with 0 additions and 4 deletions

View File

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