Merge pull request #2297 from pavel-mironchik/master

Fix a duplication of the extension when uploading files.
This commit is contained in:
Cüneyt Şentürk
2021-11-05 13:36:38 +03:00
committed by GitHub
3 changed files with 87 additions and 1 deletions

View File

@@ -142,7 +142,7 @@ trait Uploads
$file_name = Str::limit($file_name, 110);
}
return $file_name . '.' . $this->extension($file);
return $file_name;
}
/**