From 1ca531239e44a685b729dffd985d3b3d163fb268 Mon Sep 17 00:00:00 2001 From: Abbes Bahfir Date: Tue, 24 Sep 2019 09:38:16 +0100 Subject: [PATCH] fix:forgotten test condition --- htdocs/product/stock/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/stock/card.php b/htdocs/product/stock/card.php index 958f03dff2f..cef3d6891e0 100644 --- a/htdocs/product/stock/card.php +++ b/htdocs/product/stock/card.php @@ -636,7 +636,7 @@ else /* * Edition fiche */ - if (($action == 'edit' || $action == 're-edit') && 1) + if ($action == 'edit' || $action == 're-edit') { $langs->trans("WarehouseEdit");