Fix missing rollback

This commit is contained in:
Laurent Destailleur 2021-01-06 20:21:22 +01:00
parent 7f21332533
commit 170814c718

View File

@ -3699,6 +3699,7 @@ class Societe extends CommonObject
if ($result < 0)
{
setEventMessages($this->error, $this->errors, 'errors');
$this->db->rollback();
return -1;
}
}