CHANGE_Mail_template_filename_issue - VADIVEL J 2025-10-14
This commit is contained in:
parent
726764b50f
commit
19c3c12f58
@ -57,6 +57,7 @@ if (!function_exists('file_Upload')) {
|
||||
if ($fileToUpload !== null && $fileToUpload->isValid() && !$fileToUpload->hasMoved()) {
|
||||
$fileToUpload->move($filepath);
|
||||
$fileName = $fileToUpload->getName();
|
||||
$fileName = preg_replace('/[\s\x{00A0}\x{200B}-\x{200D}\x{FEFF}]/u', '', $fileName);
|
||||
return $fileName;
|
||||
} else {
|
||||
return "";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user