1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-25 20:44:01 +01:00

Remove a useless str_replace()

git-svn-id: file:///svn/phpbb/trunk@8823 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Chris Smith 2008-09-05 12:41:08 +00:00
parent c83e6f7e94
commit 6f754d49e4

View File

@ -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);