1
0
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:
Awilum
2019-01-04 17:17:45 +03:00
parent 71bb06aa20
commit 4c406fb5bd

View File

@@ -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) {