diff options
author | David M <davidmj@users.sourceforge.net> | 2007-07-22 22:15:09 +0000 |
---|---|---|
committer | David M <davidmj@users.sourceforge.net> | 2007-07-22 22:15:09 +0000 |
commit | 088874004d0d984c925d1cced61f3657cc412b42 (patch) | |
tree | 357f563dca1f48cf7fe103aaa23d2976425307f4 | |
parent | ec1da5b1fd694b4f1abcf4fa8009095d23b2c1a6 (diff) | |
download | forums-088874004d0d984c925d1cced61f3657cc412b42.tar forums-088874004d0d984c925d1cced61f3657cc412b42.tar.gz forums-088874004d0d984c925d1cced61f3657cc412b42.tar.bz2 forums-088874004d0d984c925d1cced61f3657cc412b42.tar.xz forums-088874004d0d984c925d1cced61f3657cc412b42.zip |
validation
git-svn-id: file:///svn/phpbb/trunk@7921 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r-- | phpBB/style.php | 2 |
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)) |