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

@@ -248,7 +248,7 @@ class Commande extends CommonObject
// On efface le repertoire de pdf provisoire
if (eregi('^\(PROV', $this->ref))
{
$comref = sanitize_string($this->ref);
$comref = sanitizeFileName($this->ref);
if ($conf->commande->dir_output)
{
$dir = $conf->commande->dir_output . "/" . $comref ;
@@ -1752,7 +1752,7 @@ class Commande extends CommonObject
}
// On efface le repertoire de pdf provisoire
$comref = sanitize_string($this->ref);
$comref = sanitizeFileName($this->ref);
if ($conf->commande->dir_output)
{
$dir = $conf->commande->dir_output . "/" . $comref ;