2
0
forked from Wavyzz/dolibarr

Fix bad delete of lines into llx_ecm_files

This commit is contained in:
Laurent Destailleur
2023-11-13 12:24:47 +01:00
parent 20321d67da
commit 7659bba97a
11 changed files with 31 additions and 14 deletions

View File

@@ -3507,6 +3507,7 @@ class Commande extends CommonOrder
// Delete record into ECM index and physically
if (!$error) {
$res = $this->deleteEcmFiles(0); // Deleting files physically is done later with the dol_delete_dir_recursive
$res = $this->deleteEcmFiles(1); // Deleting files physically is done later with the dol_delete_dir_recursive
if (!$res) {
$error++;
}