From 16e9475d0ba02c1af59abc588ebe2aa34a6d7477 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 27 Nov 2005 23:11:25 +0000 Subject: [PATCH] fixed double navbar on access denied (eg. calling a app by url without run-rights for that app) --- phpgwapi/inc/class.egw.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.egw.inc.php b/phpgwapi/inc/class.egw.inc.php index 768e148d6c..f44490a539 100644 --- a/phpgwapi/inc/class.egw.inc.php +++ b/phpgwapi/inc/class.egw.inc.php @@ -328,7 +328,7 @@ ($GLOBALS['egw_info']['flags']['admin_only'] && !$GLOBALS['egw_info']['user']['apps']['admin'])) { $this->common->egw_header(); - if ($GLOBALS['egw_info']['flags']['noheader']) + if ($GLOBALS['egw_info']['flags']['nonavbar']) { echo parse_navbar(); }