Fix phpcs
This commit is contained in:
parent
330cca994e
commit
f45710a4b1
@ -1981,10 +1981,10 @@ class Expedition extends CommonObject
|
||||
$error = 0;
|
||||
|
||||
// Protection. This avoid to move stock later when we should not
|
||||
if ($this->statut == self::STATUS_CLOSED)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
if ($this->statut == self::STATUS_CLOSED)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
$this->db->begin();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user