This commit is contained in:
Maxime Renou 2019-02-21 19:02:54 +01:00
parent 108f834131
commit 9006459a15
1 changed files with 1 additions and 0 deletions

View File

@ -123,6 +123,7 @@ class Storage
$camel = ucfirst(Container::camelize($attribute));
if ($file instanceof UploadedFile) {
$file_hash .= strlen($file->getExtension()) ? '.'.$file->getExtension() : '';
if (!is_null($storage_annotation->mime)) {
$valid = true;
if (count(explode('/', $storage_annotation->mime)) > 1) {