diff options
Diffstat (limited to 'phpBB/search.php')
| -rw-r--r-- | phpBB/search.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/search.php b/phpBB/search.php index 7ba7035f03..ddd113df7d 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -711,7 +711,7 @@ if ($keywords || $author || $author_id || $search_id || $submit) $hilit_array = array_filter(explode('|', $hilit), 'strlen'); foreach ($hilit_array as $key => $value) { - $hilit_array[$key] = str_replace('\*', '\w*?', preg_quote($value, '#')); + $hilit_array[$key] = str_replace('\*', '\w+?', preg_quote($value, '#')); } $hilit = implode('|', $hilit_array); } |
