Update card.php
Avoid regression on restrictArea
This commit is contained in:
parent
4ac086ab70
commit
2c2052d113
@ -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'));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user