Update export.php
This commit is contained in:
parent
51a9c4fad5
commit
2dd9cb61a6
@ -38,7 +38,7 @@ $langs->load("admin");
|
|||||||
$langs->load("accountancy");
|
$langs->load("accountancy");
|
||||||
|
|
||||||
// Security check
|
// Security check
|
||||||
if (empty($user->admin) || ! $user->rights->accounting-->chartofaccount)
|
if (empty($user->admin) && empty($user->rights->accounting->chartofaccount))
|
||||||
{
|
{
|
||||||
accessforbidden();
|
accessforbidden();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user