mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Damn it, another PHP3 oversight ... I could happily "damage" the person who noted this to the security lists ...
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3080 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
14fd9d195b
commit
795897d882
1 changed files with 1 additions and 1 deletions
|
@ -455,7 +455,7 @@ if (isset($HTTP_GET_VARS['highlight']))
|
|||
{
|
||||
if (trim($words[$i]) != '')
|
||||
{
|
||||
$highlight_match .= (($highlight_match != '') ? '|' : '') . str_replace('*', '\w*', preg_quote($words[$i], '#'));
|
||||
$highlight_match .= (($highlight_match != '') ? '|' : '') . str_replace('*', '\w*', phpbb_preg_quote($words[$i], '#'));
|
||||
}
|
||||
}
|
||||
unset($words);
|
||||
|
|
Loading…
Add table
Reference in a new issue