diff --git a/phpgwapi/inc/functions.inc.php b/phpgwapi/inc/functions.inc.php index fe3f714df6..20716356d0 100644 --- a/phpgwapi/inc/functions.inc.php +++ b/phpgwapi/inc/functions.inc.php @@ -471,7 +471,7 @@ $phpgw_info['flags']['currentapp'] != 'about') { // This will need to use ACL in the future - if (! $phpgw_info['user']['apps'][$phpgw_info['flags']['currentapp']] || ($phpgw_info['flags']['admin_only'] && ! $phpgw_info['user']['apps']['admin'])) + if (! $phpgw_info['user']['apps'][$phpgw_info['flags']['currentapp']] || (@$phpgw_info['flags']['admin_only'] && ! $phpgw_info['user']['apps']['admin'])) { $phpgw->common->phpgw_header(); if ($phpgw_info['flags']['noheader'])