Permissions Issue
fixes an issue that displayed the "restricted area" banner despite user permissions.
This commit is contained in:
parent
8030558117
commit
c64acb1a9c
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ $confirm = GETPOST('confirm', 'alpha');
|
|||
|
||||
// Security check
|
||||
if ($user->societe_id) $socid=$user->societe_id;
|
||||
$result = restrictedArea($user, 'tax', $id, 'vat', 'charges');
|
||||
$result = restrictedArea($user, 'tax', '', 'vat', 'charges');
|
||||
|
||||
|
||||
// Get parameters
|
||||
|
|
|
|||
Loading…
Reference in a new issue