From f76d5404514f170529db4b49d36e32a4cecef35a Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Thu, 15 Apr 2021 15:49:42 +0000 Subject: [PATCH] Fixing style errors. --- htdocs/product/stock/replenish.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/stock/replenish.php b/htdocs/product/stock/replenish.php index e188f968872..c9109b348d6 100644 --- a/htdocs/product/stock/replenish.php +++ b/htdocs/product/stock/replenish.php @@ -786,7 +786,7 @@ while ($i < ($limit ? min($num, $limit) : $num)) { // Force call prod->load_stats_xxx to choose status to count (otherwise it is loaded by load_stock function) if (isset($draftchecked)) { $result = $prod->load_stats_commande_fournisseur(0, '0,1,2,3,4'); - } else if (!$usevirtualstock){ + } elseif (!$usevirtualstock) { $result = $prod->load_stats_commande_fournisseur(0, '1,2,3,4'); }