Merge pull request #21148 from ibuiv/15.0
Fix: rollback on success create_individual
This commit is contained in:
commit
fca92131b2
@ -1078,7 +1078,7 @@ class Societe extends CommonObject
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($error)) {
|
if (empty($error)) {
|
||||||
dol_syslog(get_class($this)."::create_individual success");
|
dol_syslog(get_class($this)."::create_individual success");
|
||||||
$this->db->commit();
|
$this->db->commit();
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user