diff --git a/htdocs/product/stock/stocktransfer/class/stocktransfer.class.php b/htdocs/product/stock/stocktransfer/class/stocktransfer.class.php index d6183242453..d8f987a5b53 100644 --- a/htdocs/product/stock/stocktransfer/class/stocktransfer.class.php +++ b/htdocs/product/stock/stocktransfer/class/stocktransfer.class.php @@ -487,7 +487,7 @@ class StockTransfer extends CommonObject */ public function delete(User $user, $notrigger = false) { - if($this->status > self::STATUS_VALIDATED) { + if ($this->status > self::STATUS_VALIDATED) { return 0; } else { return $this->deleteCommon($user, $notrigger);