From 5fb3f14321f4dc975e11430040d6056bfcb1faff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Fri, 3 Aug 2001 14:00:00 +0000 Subject: [PATCH] Added tests to ensure $cfgOBGzip and $ob_mode not only exists but are also true --- footer.inc.php3 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/footer.inc.php3 b/footer.inc.php3 index 1c070c5dc..299ac2250 100755 --- a/footer.inc.php3 +++ b/footer.inc.php3 @@ -12,7 +12,8 @@ /** * Sends bufferized data */ -if (isset($cfgOBGzip) && isset($ob_mode)) { +if (isset($cfgOBGzip) && $cfgOBGzip + && isset($ob_mode) && $ob_mode) { out_buffer_post($ob_mode); } ?>