mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00:00
Remove a useless str_replace()
git-svn-id: file:///svn/phpbb/trunk@8823 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
c83e6f7e94
commit
6f754d49e4
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue