mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-14 08:54:21 +01:00
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
@@ -1961,6 +1961,7 @@ class CommandeFournisseur extends CommonOrder
|
||||
if ($resql)
|
||||
{
|
||||
$result = 0;
|
||||
$old_statut = $this->statut;
|
||||
$this->statut = $statut;
|
||||
|
||||
// Call trigger
|
||||
@@ -1974,6 +1975,7 @@ class CommandeFournisseur extends CommonOrder
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->statut = $old_statut;
|
||||
$this->db->rollback();
|
||||
$this->error=$this->db->lasterror();
|
||||
$result = -1;
|
||||
|
||||
Reference in New Issue
Block a user