From 173d28cf5aeaeb74e9feecebfa5a0523f34c33bb Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 14 Feb 2019 15:22:22 +0100 Subject: [PATCH] Update mouvement.php Avoid regression on restrictArea --- htdocs/product/stock/mouvement.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/product/stock/mouvement.php b/htdocs/product/stock/mouvement.php index 21aa103fafb..331d39efccb 100644 --- a/htdocs/product/stock/mouvement.php +++ b/htdocs/product/stock/mouvement.php @@ -55,7 +55,8 @@ $cancel=GETPOST('cancel','alpha'); $contextpage=GETPOST('contextpage','aZ')?GETPOST('contextpage','aZ'):'movementlist'; // Security check -$result=restrictedArea($user,'stock', $id, 'entrepot&stock'); +//$result=restrictedArea($user,'stock', $id, 'entrepot&stock'); +$result=restrictedArea($user,'stock'); $idproduct = GETPOST('idproduct','int'); $year = GETPOST("year");