mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-28 03:33:17 +01:00
Update subaccount.php
This commit is contained in:
@@ -46,7 +46,7 @@ $search_type = GETPOST('search_type', 'int');
|
||||
if ($user->socid > 0) {
|
||||
accessforbidden();
|
||||
}
|
||||
if (!$user->rights->accounting->chartofaccount) {
|
||||
if (empty($user->rights->accounting->chartofaccount)) {
|
||||
accessforbidden();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user