mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-05 23:25:30 +02:00
bah
git-svn-id: file:///svn/phpbb/trunk@2338 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
4f23d69f63
commit
1dbb0240f5
@ -445,8 +445,8 @@ function obtain_word_list(&$orig_word, &$replacement_word)
|
||||
{
|
||||
do
|
||||
{
|
||||
$orig_word[] = '#\W(' . str_replace('\*', '\w*?', preg_quote($row['word']) ) . ')\W#is';
|
||||
$replacement_word[] = $row['replacement'];
|
||||
$orig_word[] = '#(\W)' . str_replace('\*', '\w*?', preg_quote($row['word']) ) . '(\W)#is';
|
||||
$replacement_word[] = '\1' . $row['replacement'] . '\2';
|
||||
}
|
||||
while ( $row = $db->sql_fetchrow($result) );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user