From af1cc18e023bc8b55bc86417d25f4e0debbc3deb Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Thu, 24 Jul 2003 10:54:04 +0000 Subject: [PATCH] It's going to be one of those days ... git-svn-id: file:///svn/phpbb/trunk@4322 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/style.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/style.php b/phpBB/style.php index c900013206..ec0d3a289b 100644 --- a/phpBB/style.php +++ b/phpBB/style.php @@ -62,7 +62,7 @@ if (!empty($_GET['id']) && !empty($_GET['sid'])) $sql = "SELECT session_id FROM {$table_prefix}sessions - WHERE session_id = '" . ((!get_magic_quotes_gpc()) ? $db->sql_escape($sid) : $sid . "'"; + WHERE session_id = '" . ((!get_magic_quotes_gpc()) ? $db->sql_escape($sid) : $sid) . "'"; $result = $db->sql_query($sql); if ($db->sql_fetchrow($result)) @@ -75,7 +75,7 @@ if (!empty($_GET['id']) && !empty($_GET['sid'])) if ($row = $db->sql_fetchrow($result2)) { header('Expires: ' . gmdate('D, d M Y H:i:s \G\M\T', time() + 3600)); - header('Content-type: text/css'); + //header('Content-type: text/css'); echo $row['css_data']; }