This commit is contained in:
Maxime Renou 2019-02-21 13:20:41 +01:00
parent 1bfde01f42
commit a7460bbce1
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,6 @@ class Validator
$attribute = $args[0];
$storage = $args[1];
// handle
if (!$this->hasFile($attribute))
{
$this->error($attribute, 'required');
@ -235,6 +234,7 @@ class Validator
$this->error($attribute, 'file_mime_type');
}
}
return false;
}