diff --git a/htdocs/product/card.php b/htdocs/product/card.php index fa69bbf0399..eb292e8c7f0 100644 --- a/htdocs/product/card.php +++ b/htdocs/product/card.php @@ -173,7 +173,7 @@ if ($object->id > 0) { restrictedArea($user, 'service', $object->id, 'product&product', '', ''); } } else { - restrictedArea($user, 'produit|service', $fieldvalue, 'product&product', '', '', $fieldtype); + restrictedArea($user, 'produit|service', 0, 'product&product', '', '', $fieldtype); } // Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context