forked from Wavyzz/dolibarr
Fix bad delete of lines into llx_ecm_files
This commit is contained in:
@@ -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++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user