diff --git a/phpgwapi/templates/default/navbar.inc.php b/phpgwapi/templates/default/navbar.inc.php index 0d26d9a60d..8140101dde 100644 --- a/phpgwapi/templates/default/navbar.inc.php +++ b/phpgwapi/templates/default/navbar.inc.php @@ -110,7 +110,7 @@ $tpl->set_var($var); $tpl->pfp('out','navbar'); // If the application has a header include, we now include it - if (!@$GLOBALS['phpgw_info']['flags']['noappheader'] && $GLOBALS['menuaction']) + if (!@$GLOBALS['phpgw_info']['flags']['noappheader'] && $GLOBALS['HTTP_GET_VARS']['menuaction']) { if (is_array($GLOBALS['obj']->public_functions) && $GLOBALS['obj']->public_functions['header']) { diff --git a/phpgwapi/templates/idsociety/navbar.inc.php b/phpgwapi/templates/idsociety/navbar.inc.php index 377b8a005c..a0232a17b7 100644 --- a/phpgwapi/templates/idsociety/navbar.inc.php +++ b/phpgwapi/templates/idsociety/navbar.inc.php @@ -139,7 +139,7 @@ $tpl->set_var($var); $tpl->pfp('out','navbar'); // If the application has a header include, we now include it - if (!@$GLOBALS['phpgw_info']['flags']['noappheader'] && $GLOBALS['menuaction']) + if (!@$GLOBALS['phpgw_info']['flags']['noappheader'] && $GLOBALS['HTTP_GET_VARS']['menuaction']) { if (is_array($GLOBALS['obj']->public_functions) && $GLOBALS['obj']->public_functions['header']) {