2
0
forked from Wavyzz/dolibarr

No special chars in filename

This commit is contained in:
Laurent Destailleur
2008-10-25 21:18:53 +00:00
parent 5f55cb864e
commit dbae510665
64 changed files with 167 additions and 153 deletions

View File

@@ -249,7 +249,7 @@ function commande_delete_preview($db, $commandeid, $commanderef='')
if ($conf->commande->dir_output)
{
$comref = sanitize_string($commanderef);
$comref = sanitizeFileName($commanderef);
$dir = $conf->commande->dir_output . "/" . $comref ;
$file = $dir . "/" . $comref . ".pdf.png";
$multiple = $file . ".";