aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/search
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2006-06-16 18:31:51 +0000
committerNils Adermann <naderman@naderman.de>2006-06-16 18:31:51 +0000
commitd4a2bec8d3c83b3e10ed128875acef886c908cd8 (patch)
tree1a40a5deebc2d846f5b5c98b04b96e84f9ea38eb /phpBB/includes/search
parent010e453b45e875d6eefdcf1fb2d20d4341c0b64a (diff)
downloadforums-d4a2bec8d3c83b3e10ed128875acef886c908cd8.tar
forums-d4a2bec8d3c83b3e10ed128875acef886c908cd8.tar.gz
forums-d4a2bec8d3c83b3e10ed128875acef886c908cd8.tar.bz2
forums-d4a2bec8d3c83b3e10ed128875acef886c908cd8.tar.xz
forums-d4a2bec8d3c83b3e10ed128875acef886c908cd8.zip
- proper redirect after deleting a report [Bug #2260]
- sql_escape words before fulltext update - correct language string for "search facilities" in acp_search git-svn-id: file:///svn/phpbb/trunk@6075 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/search')
-rwxr-xr-xphpBB/includes/search/fulltext_native.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/search/fulltext_native.php b/phpBB/includes/search/fulltext_native.php
index 71941f8bfc..eec7415dd8 100755
--- a/phpBB/includes/search/fulltext_native.php
+++ b/phpBB/includes/search/fulltext_native.php
@@ -825,7 +825,7 @@ class fulltext_native extends search_backend
}
$db->sql_freeresult($result);
- $new_words = array_diff($unique_add_words, array_keys($word_ids));
+ $new_words = array_map(array(&$db, 'sql_escape'), array_diff($unique_add_words, array_keys($word_ids)));
if (sizeof($new_words))
{