summaryrefslogtreecommitdiff
path: root/modules/search
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-05-07 21:00:36 +0000
committerDries Buytaert <dries@buytaert.net>2003-05-07 21:00:36 +0000
commita161110a6ba10a43df67179263d62f201631e88d (patch)
treec6b146ed125d82487d6285c259cfb30346c310bc /modules/search
parent9a62873a4beae8fe620dedcf7ca40954e12cc7cb (diff)
downloadbrdo-a161110a6ba10a43df67179263d62f201631e88d.tar.gz
brdo-a161110a6ba10a43df67179263d62f201631e88d.tar.bz2
- Applied Michael Caerwyn's "%s -> %d" patch.
- Changed all occurences of '%d' to %d as suggested on the mailing list.
Diffstat (limited to 'modules/search')
-rw-r--r--modules/search/search.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/search/search.module b/modules/search/search.module
index fdbc0d293..c87372241 100644
--- a/modules/search/search.module
+++ b/modules/search/search.module
@@ -263,7 +263,7 @@ function update_index($search_array) {
** the search index
*/
foreach ($newwords as $key => $value) {
- db_query("INSERT INTO search_index VALUES('%s', '%s', '%s', '%s')", $key, $node["lno"], $node_type, $value);
+ db_query("INSERT INTO search_index VALUES('%s', %d, '%s', %d)", $key, $node["lno"], $node_type, $value);
}
// Zap the weighted words array, so we don't add multiples.