summaryrefslogtreecommitdiff
path: root/modules/node/node.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-05-13 17:40:43 +0000
committerDries Buytaert <dries@buytaert.net>2008-05-13 17:40:43 +0000
commit580729b02918a0d83d06532445785bd4dad938d7 (patch)
treefdfb64cfe10bfd1c5dd10b89b2f0f3c8834ef9bb /modules/node/node.module
parent0d54577a9fc46cb7ba97b2d25cf18bec84a09e72 (diff)
downloadbrdo-580729b02918a0d83d06532445785bd4dad938d7.tar.gz
brdo-580729b02918a0d83d06532445785bd4dad938d7.tar.bz2
- Patch #257279 by Robert Douglas: removing extra join from do_search().
Diffstat (limited to 'modules/node/node.module')
-rw-r--r--modules/node/node.module2
1 files changed, 1 insertions, 1 deletions
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();