Fix a duplication of the extension when uploading files.
This commit is contained in:
parent
abc18da51c
commit
35495a6495
@ -142,7 +142,7 @@ trait Uploads
|
|||||||
$file_name = Str::limit($file_name, 110);
|
$file_name = Str::limit($file_name, 110);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $file_name . '.' . $this->extension($file);
|
return $file_name;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user