From 20f6a3424997332e2764097ac402c818abc7ced2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Sun, 13 Jun 2021 16:12:46 +0200 Subject: [PATCH] Update list.php --- htdocs/product/list.php | 1 - 1 file changed, 1 deletion(-) diff --git a/htdocs/product/list.php b/htdocs/product/list.php index 8000eac356b..329f72f4d9c 100644 --- a/htdocs/product/list.php +++ b/htdocs/product/list.php @@ -724,7 +724,6 @@ if ($resql) { $perm = $user->rights->service->creer; } elseif ($type == Product::TYPE_PRODUCT) { $perm = $user->rights->produit->creer; - } $oldtype = $type; $params = array();