mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Qual: Return id of order creates instead of 1 with method
createFromProposal
This commit is contained in:
@@ -989,7 +989,7 @@ class Commande extends CommonOrder
|
||||
$this->fetch($ret);
|
||||
$this->valid($user);
|
||||
}
|
||||
return 1;
|
||||
return $ret;
|
||||
}
|
||||
else return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user