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();