diff --git a/phpgwapi/templates/idsociety/navbar.inc.php b/phpgwapi/templates/idsociety/navbar.inc.php index 84aec59cb0..194e04c57c 100644 --- a/phpgwapi/templates/idsociety/navbar.inc.php +++ b/phpgwapi/templates/idsociety/navbar.inc.php @@ -127,7 +127,10 @@ */ // If the application has a header include, we now include it - if ($phpgw_info["flags"]["noheader"] && ! $phpgw_info["flags"]["noappheader"]) + if ((isset($phpgw_info["flags"]["noheader"]) && + $phpgw_info['flags']['noheader']) && + (isset($phpgw_info['flags']['noappheader']) && + !$phpgw_info["flags"]["noappheader"])) { }