mirror of
https://github.com/flextype/flextype.git
synced 2025-08-11 15:44:49 +02:00
Admin Panel: Entries Manager - Remove uniqid() from upload method
This commit is contained in:
@@ -587,8 +587,8 @@ class EntriesManager
|
||||
|
||||
if ($filename === null) {
|
||||
|
||||
// Use the default filename, with a timestamp pre-pended
|
||||
$filename = uniqid().'-'.$file['name'];
|
||||
// Use the default filename
|
||||
$filename = $file['name'];
|
||||
}
|
||||
|
||||
if ($remove_spaces === true) {
|
||||
|
Reference in New Issue
Block a user