From 7c2172852a2d5d41f7bf26df4d77169960eb41b4 Mon Sep 17 00:00:00 2001 From: skeeter Date: Wed, 16 May 2001 04:40:52 +0000 Subject: [PATCH] Trying to remove some warnings. These warnings become very bothersome and slow when logging to a file. --- phpgwapi/templates/idsociety/navbar.inc.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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"])) { }