mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 07:47:34 +02:00
2.0.6 updates...
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4284 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -504,7 +504,7 @@ function obtain_word_list(&$orig_word, &$replacement_word)
|
||||
{
|
||||
do
|
||||
{
|
||||
$orig_word[] = '#(' . str_replace('\*', '\w*?', phpbb_preg_quote($row['word'], '#')) . ')#i';
|
||||
$orig_word[] = '#\b(' . str_replace('\*', '\w*?', phpbb_preg_quote($row['word'], '#')) . ')\b#i';
|
||||
$replacement_word[] = $row['replacement'];
|
||||
}
|
||||
while ( $row = $db->sql_fetchrow($result) );
|
||||
|
Reference in New Issue
Block a user