Update defaultaccounts.php
This commit is contained in:
parent
d880c943ae
commit
51a9c4fad5
@ -42,7 +42,7 @@ $langs->load("salaries");
|
|||||||
$langs->load("loan");
|
$langs->load("loan");
|
||||||
|
|
||||||
// Security check
|
// Security check
|
||||||
if (! $user->rights->accounting-->chartofaccount)
|
if (empty($user->rights->accounting->chartofaccount))
|
||||||
{
|
{
|
||||||
accessforbidden();
|
accessforbidden();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user