2
0
forked from Wavyzz/dolibarr

FIX ecm_files didnt match cause document ref contained "/"

This commit is contained in:
atm-quentin
2020-03-03 11:49:17 +01:00
parent 5e6ee7888c
commit 9446138951
14 changed files with 15 additions and 15 deletions

View File

@@ -361,7 +361,7 @@ class Commande extends CommonOrder
{
$num = $this->ref;
}
$this->newref = $num;
$this->newref = dol_sanitizeFileName($num);
// Validate
$sql = "UPDATE ".MAIN_DB_PREFIX."commande";