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