mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-01-27 14:09:41 +01:00
Fix underscore a inizio nome file stampa
This commit is contained in:
parent
685b83ae4d
commit
5d65c5be44
@ -387,7 +387,7 @@ class Prints
|
||||
$name = replace($name, $replaces);
|
||||
|
||||
$filename = sanitizeFilename($name);
|
||||
$file = rtrim($directory, '/').'/'.$filename;
|
||||
$file = ( empty($directory) ) ? $filename : rtrim($directory, '/').'/'.$filename;
|
||||
|
||||
return [
|
||||
'name' => $name,
|
||||
|
Loading…
x
Reference in New Issue
Block a user