diff options
Diffstat (limited to 'phpBB/includes/search/search.php')
-rwxr-xr-x | phpBB/includes/search/search.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/search/search.php b/phpBB/includes/search/search.php index 545e7fe0eb..f4a1ddac27 100755 --- a/phpBB/includes/search/search.php +++ b/phpBB/includes/search/search.php @@ -273,7 +273,7 @@ class search_backend $sql_where = ''; foreach ($words as $word) { - $sql_where .= " OR search_keywords " . $db->sql_like_expression('%' . $word . '%'); + $sql_where .= " OR search_keywords " . $db->sql_like_expression($db->any_char . $word . $db->any_char); } $sql = 'SELECT search_key |