forked from Wavyzz/dolibarr
Update commande.class.php (#29823)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
@@ -1705,6 +1705,7 @@ class Commande extends CommonOrder
|
||||
|
||||
if ($result > 0) {
|
||||
$this->db->commit();
|
||||
$this->lines[] = $this->line;
|
||||
return $this->line->id;
|
||||
} else {
|
||||
$this->db->rollback();
|
||||
|
||||
Reference in New Issue
Block a user