fixed double navbar on access denied (eg. calling a app by url without run-rights for that app)

This commit is contained in:
Ralf Becker 2005-11-27 23:11:25 +00:00
parent 0cfdea3f97
commit 16e9475d0b

View File

@ -328,7 +328,7 @@
($GLOBALS['egw_info']['flags']['admin_only'] && !$GLOBALS['egw_info']['user']['apps']['admin'])) ($GLOBALS['egw_info']['flags']['admin_only'] && !$GLOBALS['egw_info']['user']['apps']['admin']))
{ {
$this->common->egw_header(); $this->common->egw_header();
if ($GLOBALS['egw_info']['flags']['noheader']) if ($GLOBALS['egw_info']['flags']['nonavbar'])
{ {
echo parse_navbar(); echo parse_navbar();
} }