diff options
| author | Chris Smith <toonarmy@phpbb.com> | 2008-09-05 12:41:08 +0000 |
|---|---|---|
| committer | Chris Smith <toonarmy@phpbb.com> | 2008-09-05 12:41:08 +0000 |
| commit | 6f754d49e48b732ee6bd12fce80f57f4480a4b5d (patch) | |
| tree | 4c6576ac4acbcecdc62549fc1b65802729a72072 | |
| parent | c83e6f7e94eaa7e71ecbfa1a04d515584ac081a3 (diff) | |
| download | forums-6f754d49e48b732ee6bd12fce80f57f4480a4b5d.tar forums-6f754d49e48b732ee6bd12fce80f57f4480a4b5d.tar.gz forums-6f754d49e48b732ee6bd12fce80f57f4480a4b5d.tar.bz2 forums-6f754d49e48b732ee6bd12fce80f57f4480a4b5d.tar.xz forums-6f754d49e48b732ee6bd12fce80f57f4480a4b5d.zip | |
Remove a useless str_replace()
git-svn-id: file:///svn/phpbb/trunk@8823 89ea8834-ac86-4346-8a33-228a782c2dd0
| -rw-r--r-- | phpBB/includes/session.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php index 463d2af97c..4066a2c23b 100644 --- a/phpBB/includes/session.php +++ b/phpBB/includes/session.php @@ -66,14 +66,14 @@ class session $find = array('"', "'", '<', '>'); $replace = array('%22', '%27', '%3C', '%3E'); - foreach ($args as $key => $argument) + foreach ($args as $argument) { if (strpos($argument, 'sid=') === 0) { continue; } - $use_args[str_replace($find, $replace, $key)] = str_replace($find, $replace, $argument); + $use_args[] = str_replace($find, $replace, $argument); } unset($args); |
