diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-03-19 00:43:51 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-03-19 00:43:51 +0000 |
| commit | 1ab738dcb2f3964dea9e2707e3613df17a4ae71a (patch) | |
| tree | 2d081688c739ac51508d58518610ab6cf6224dff /phpBB | |
| parent | 6e445f4ca5b2915274d00ef76783bd34e50756f7 (diff) | |
| download | forums-1ab738dcb2f3964dea9e2707e3613df17a4ae71a.tar forums-1ab738dcb2f3964dea9e2707e3613df17a4ae71a.tar.gz forums-1ab738dcb2f3964dea9e2707e3613df17a4ae71a.tar.bz2 forums-1ab738dcb2f3964dea9e2707e3613df17a4ae71a.tar.xz forums-1ab738dcb2f3964dea9e2707e3613df17a4ae71a.zip | |
Stuff that phpbb_preg ... not including bbcode and can't be bothered to move phpbb_preg out ...
git-svn-id: file:///svn/phpbb/trunk@2335 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
| -rw-r--r-- | phpBB/includes/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 9e8b72d4dd..913434ef47 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -445,7 +445,7 @@ function obtain_word_list(&$orig_word, &$replacement_word) { do { - $orig_word[] = '#\W(' . str_replace('\*', '\w*?', phpbb_preg_quote($row['word']), "#") . ')\W#is'; + $orig_word[] = '#\W(' . str_replace('\*', '\w*?', preg_quote($row['word']) ) . ')\W#is'; $replacement_word[] = $row['replacement']; } while ( $row = $db->sql_fetchrow($result) ); |
