Merge pull request #21148 from ibuiv/15.0

Fix: rollback on success create_individual
This commit is contained in:
Laurent Destailleur 2022-06-08 15:02:27 +02:00 committed by GitHub
commit fca92131b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {