diff --git a/laravel/validator.php b/laravel/validator.php index dd3a15fd..3290bc17 100644 --- a/laravel/validator.php +++ b/laravel/validator.php @@ -249,7 +249,7 @@ protected function validate_required($attribute, $value) { return false; } - elseif ( ! is_null(Input::file($attribute)) and $value['tmp_name'] == '') + elseif ( ! is_null(Input::file($attribute)) and is_array($value) and $value['tmp_name'] == '') { return false; }