Fix: rollback on success create_individual
Fix: Societe::create_individual rollback on success
This commit is contained in:
parent
78af5b9be7
commit
48fdfe26fa
@ -1078,7 +1078,7 @@ class Societe extends CommonObject
|
||||
}
|
||||
}
|
||||
|
||||
if (!empty($error)) {
|
||||
if (empty($error)) {
|
||||
dol_syslog(get_class($this)."::create_individual success");
|
||||
$this->db->commit();
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user