From 580729b02918a0d83d06532445785bd4dad938d7 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 13 May 2008 17:40:43 +0000 Subject: - Patch #257279 by Robert Douglas: removing extra join from do_search(). --- 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 c612a087f..ac006b94e 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1285,7 +1285,7 @@ function node_search($op = 'search', $keys = NULL) { } // Do search. - $find = do_search($keys, 'node', 'INNER JOIN {node} n ON n.nid = i.sid ' . $join1 . ' INNER JOIN {users} u ON n.uid = u.uid', $conditions1 . (empty($where1) ? '' : ' AND ' . $where1), $arguments1, $select2, $join2, $arguments2); + $find = do_search($keys, 'node', 'INNER JOIN {node} n ON n.nid = i.sid ' . $join1, $conditions1 . (empty($where1) ? '' : ' AND ' . $where1), $arguments1, $select2, $join2, $arguments2); // Load results. $results = array(); -- cgit v1.2.3