From a161110a6ba10a43df67179263d62f201631e88d Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 7 May 2003 21:00:36 +0000 Subject: - Applied Michael Caerwyn's "%s -> %d" patch. - Changed all occurences of '%d' to %d as suggested on the mailing list. --- modules/search/search.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/search') 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. -- cgit v1.2.3