diff --git a/htdocs/expedition/shipment.php b/htdocs/expedition/shipment.php index 79f3976310f..60589d56292 100644 --- a/htdocs/expedition/shipment.php +++ b/htdocs/expedition/shipment.php @@ -798,9 +798,9 @@ if ($id > 0 || !empty($ref)) { if ($product->stock_reel < $toBeShipped[$objp->fk_product]) { print ' '.img_warning($langs->trans("StockTooLow")); if (!empty($conf->global->STOCK_CORRECT_STOCK_IN_SHIPMENT)) { - $nbPiece = $toBeShipped[$objp->fk_product] - $product->stock_reel; - print '   '.$langs->trans("GoTo").' '.$langs->trans("CorrectStock").''; - } + $nbPiece = $toBeShipped[$objp->fk_product] - $product->stock_reel; + print '   '.$langs->trans("GoTo").' '.$langs->trans("CorrectStock").''; + } } print ''; } else {