From fdfde165a9abd91078d954e69f07ef3064868824 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 29 Apr 2022 17:48:40 +0200 Subject: [PATCH] FIX #20702 #20699 #20700 --- htdocs/product/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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