Update journals_list.php
This commit is contained in:
parent
2dd9cb61a6
commit
5eaf49a265
1 changed files with 2 additions and 2 deletions
|
|
@ -41,7 +41,7 @@ $rowid=GETPOST('rowid','alpha');
|
|||
$code=GETPOST('code','alpha');
|
||||
|
||||
// Security access
|
||||
if (!$user->rights->accounting->chartofaccount)
|
||||
if (empty($user->rights->accounting->chartofaccount))
|
||||
{
|
||||
accessforbidden();
|
||||
}
|
||||
|
|
@ -743,4 +743,4 @@ function fieldList($fieldlist, $obj='', $tabname='', $context='')
|
|||
print '</td>';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue