From 2141a64e341b9880b7b32ec7456554170dd21ec6 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 11 Aug 2010 14:21:39 +0000 Subject: - Patch #497206 by jhodgdon, pwolanin, Island Usurper, YannickD: avoid search conflicts with other forms, use menu API instead of search_get_keys(). --- modules/node/node.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/node/node.module') diff --git a/modules/node/node.module b/modules/node/node.module index c234b4b41..22d319b1e 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1539,7 +1539,7 @@ function node_search_admin() { /** * Implements hook_search_execute(). */ -function node_search_execute($keys = NULL) { +function node_search_execute($keys = NULL, $conditions = NULL) { // Build matching conditions $query = db_select('search_index', 'i', array('target' => 'slave'))->extend('SearchQuery')->extend('PagerDefault'); $query->join('node', 'n', 'n.nid = i.sid'); -- cgit v1.2.3