From 1bcb85cbef685de6e25822551dedfaac53fd739e Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Wed, 25 Feb 2009 15:40:01 +0000 Subject: [PATCH] Fix problem with local admin --- include/impress_jrn.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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