Permissions Issue

fixes an issue that displayed the "restricted area" banner despite user permissions.
This commit is contained in:
Pierre Ardoin 2020-01-25 15:19:46 +01:00 committed by GitHub
parent 8030558117
commit c64acb1a9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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