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

@@ -106,7 +106,7 @@ class InterfaceNotification
dolibarr_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
$action_notify = 2;
$ref = sanitize_string($object->ref);
$ref = sanitizeFileName($object->ref);
$filepdf = $conf->facture->dir_output . '/' . $ref . '/' . $ref . '.pdf';
$mesg = 'La facture '.$object->ref." a <20>t<EFBFBD> valid<69>e.\n";
@@ -119,7 +119,7 @@ class InterfaceNotification
dolibarr_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
$action_notify = 1;
$ref = sanitize_string($object->ref);
$ref = sanitizeFileName($object->ref);
$filepdf = $conf->facture->dir_output . '/' . $ref . '/' . $ref . '.pdf';
$mesg = 'La fiche intervention '.$object->ref." a <20>t<EFBFBD> valid<69>e.\n";
@@ -132,7 +132,7 @@ class InterfaceNotification
dolibarr_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
$action_notify = 3;
$ref = sanitize_string($object->ref);
$ref = sanitizeFileName($object->ref);
$filepdf = $conf->fournisseur->commande->dir_output . '/' . $ref . '/' . $ref . '.pdf';
$mesg = 'La commande fournisseur '.$object->ref." a <20>t<EFBFBD> valid<69>e.\n";