diff --git a/htdocs/product/stock/card.php b/htdocs/product/stock/card.php index 01529d33f35..5dca091c56b 100644 --- a/htdocs/product/stock/card.php +++ b/htdocs/product/stock/card.php @@ -52,7 +52,8 @@ if (! $sortorder) $sortorder="DESC"; $backtopage=GETPOST('backtopage','alpha'); // Security check -$result=restrictedArea($user,'stock', $id, 'entrepot&stock'); +//$result=restrictedArea($user,'stock', $id, 'entrepot&stock'); +$result=restrictedArea($user,'stock'); // Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context $hookmanager->initHooks(array('warehousecard','globalcard'));