We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3602e62 commit ee80fd9Copy full SHA for ee80fd9
src/LfmPath.php
@@ -246,7 +246,7 @@ private function uploadValidator($file)
246
throw new \Exception('File failed to upload. Error code: ' . $file->getError());
247
}
248
249
- $new_file_name = $this->getNewName($file) . '.' . $file->getClientOriginalExtension();
+ $new_file_name = $this->getNewName($file);
250
251
if ($this->setName($new_file_name)->exists()) {
252
return $this->error('file-exist');
0 commit comments