From b6859730c828f4e94767357704d0706b0164af86 Mon Sep 17 00:00:00 2001 From: David M Date: Mon, 16 Apr 2007 11:27:10 +0000 Subject: [PATCH] typo git-svn-id: file:///svn/phpbb/trunk@7364 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/style.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/style.php b/phpBB/style.php index 37b34f820c..6a71f86dec 100644 --- a/phpBB/style.php +++ b/phpBB/style.php @@ -36,7 +36,7 @@ if (!empty($load_extensions)) $sid = (isset($_GET['sid'])) ? htmlspecialchars($_GET['sid']) : ''; $id = (isset($_GET['id'])) ? intval($_GET['id']) : 0; -if (strspn($str, 'abcdefABCDEF0123456789') !== strlen($str)) +if (strspn($sid, 'abcdefABCDEF0123456789') !== strlen($sid)) { $sid = ''; }