Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into develop

This commit is contained in:
Laurent Destailleur 2019-12-23 15:51:59 +01:00
commit 92708e31ce

View File

@ -1981,10 +1981,10 @@ class Expedition extends CommonObject
$error = 0; $error = 0;
// Protection. This avoid to move stock later when we should not // Protection. This avoid to move stock later when we should not
if ($this->statut == self::STATUS_CLOSED) if ($this->statut == self::STATUS_CLOSED)
{ {
return 0; return 0;
} }
$this->db->begin(); $this->db->begin();