mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 18:26:32 +02:00
Stop using a couple of the php3 compatability wrappers since the
functions they replace are present in the current minimum required php version. There should be no noticable change from this apart from a slight performance increase, but again please report any issues with this change to me git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5261 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -490,7 +490,7 @@ if (isset($HTTP_GET_VARS['highlight']))
|
||||
{
|
||||
if (trim($words[$i]) != '')
|
||||
{
|
||||
$highlight_match .= (($highlight_match != '') ? '|' : '') . str_replace('*', '\w*', phpbb_preg_quote($words[$i], '#'));
|
||||
$highlight_match .= (($highlight_match != '') ? '|' : '') . str_replace('*', '\w*', preg_quote($words[$i], '#'));
|
||||
}
|
||||
}
|
||||
unset($words);
|
||||
|
Reference in New Issue
Block a user