2
0
forked from Wavyzz/dolibarr

deleteObjectLinked() in deleteCommon() function

This commit is contained in:
atm-lena
2022-12-12 10:05:44 +01:00
parent 93ee9a7496
commit 95f437b45c
2 changed files with 8 additions and 25 deletions

View File

@@ -9472,6 +9472,12 @@ abstract class CommonObject
}
}
// Delete linked object
$res = $this->deleteObjectLinked();
if ($res < 0) {
$error++;
}
// Commit or rollback
if ($error) {
$this->db->rollback();