Fix missing rollback
This commit is contained in:
parent
7f21332533
commit
170814c718
@ -3699,6 +3699,7 @@ class Societe extends CommonObject
|
||||
if ($result < 0)
|
||||
{
|
||||
setEventMessages($this->error, $this->errors, 'errors');
|
||||
$this->db->rollback();
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user