Fix problem with local admin
This commit is contained in:
parent
45666d3c17
commit
1bcb85cbef
1 changed files with 1 additions and 1 deletions
|
|
@ -183,7 +183,7 @@ require_once("class_acc_ledger.php");
|
|||
//-----------------------------------------------------
|
||||
include_once("postgres.php");
|
||||
|
||||
if ( $User->Admin() ==0) {
|
||||
if ( $User->Admin() == 0 && $User->is_local_admin()==0) {
|
||||
$ret=make_array($cn,"select jrn_def_id,jrn_def_name
|
||||
from jrn_def join jrn_type on jrn_def_type=jrn_type_id
|
||||
join user_sec_jrn on uj_jrn_id=jrn_def_id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue