From f69e853fe788f52400a67b711db947b62f78c244 Mon Sep 17 00:00:00 2001 From: mr-russ Date: Wed, 18 Apr 2007 16:33:59 +0000 Subject: [PATCH] Fix brain fade where FrameSet was send when it shouldn't be. The test was for NULL in development, then the function was changed to true/false but the test was missed. --- classes/Misc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/Misc.php b/classes/Misc.php index bec28f32d..73951fedf 100644 --- a/classes/Misc.php +++ b/classes/Misc.php @@ -2,7 +2,7 @@ /** * Class to hold various commonly used functions * - * $Id: Misc.php,v 1.143 2007/04/18 15:01:15 mr-russ Exp $ + * $Id: Misc.php,v 1.144 2007/04/18 16:33:59 mr-russ Exp $ */ class Misc { @@ -359,7 +359,7 @@ function printHeader($title = '', $script = null, $frameset = false) { header("Content-Type: text/html; charset=" . $lang['appcharset']); // Send XHTML headers, or regular XHTML strict headers echo "\n"; - if ($frameset !== null) { + if ($frameset == true) { echo "\n"; } else if (isset($conf['use_xhtml_strict']) && $conf['use_xhtml_strict']) { echo "\n";