diff --git a/include/impress_jrn.inc.php b/include/impress_jrn.inc.php index 35ac183a1..647a97f21 100644 --- a/include/impress_jrn.inc.php +++ b/include/impress_jrn.inc.php @@ -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