Merge pull request #16237 from AlexisLaurier/13.0

13.0 - Fix db begin() not closed into commande.class.php
This commit is contained in:
Laurent Destailleur
2021-02-09 18:06:36 +01:00
committed by GitHub

View File

@@ -742,11 +742,11 @@ class Commande extends CommonOrder
if ($usercanclose)
{
$this->db->begin();
if ($this->statut == self::STATUS_CLOSED)
{
return 0;
}
$this->db->begin();
$now = dol_now();