1
0
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:
loviuz 2019-11-28 19:23:03 +01:00
parent 685b83ae4d
commit 5d65c5be44

View File

@ -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,