diff --git a/htdocs/societe.class.php b/htdocs/societe.class.php index c3ebaa7398e..7f3e6ff1813 100644 --- a/htdocs/societe.class.php +++ b/htdocs/societe.class.php @@ -163,6 +163,7 @@ class Societe { dolibarr_syslog("Societe::Create success id=".$this->id); $this->db->commit(); + $ret = 0; } else {