aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/style.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/style.php')
-rw-r--r--phpBB/style.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/style.php b/phpBB/style.php
index 36fea2d554..3578993691 100644
--- a/phpBB/style.php
+++ b/phpBB/style.php
@@ -33,7 +33,7 @@ if (!empty($load_extensions))
}
-$sid = (isset($_GET['sid'])) ? htmlspecialchars($_GET['sid']) : '';
+$sid = (isset($_GET['sid']) && !is_array($_GET['sid'])) ? htmlspecialchars($_GET['sid']) : '';
$id = (isset($_GET['id'])) ? intval($_GET['id']) : 0;
if (strspn($sid, 'abcdefABCDEF0123456789') !== strlen($sid))