diff --git a/modules/search/search.module b/modules/search/search.module index f6175084c5249e1be788fd0bd8118a0219764d02..dfcc12edc16e8d055cdd611406451ca40a591cf3 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -912,7 +912,7 @@ function _search_parse_query(&$word, &$scores, $not = FALSE) { * * @ingroup search */ -function do_search($keywords, $type, $join1 = '', $where1 = '1', $arguments1 = array(), $columns2 = 'i.relevance AS score', $join2 = '', $arguments2 = array(), $sort_parameters = 'ORDER BY score DESC') { +function do_search($keywords, $type, $join1 = '', $where1 = '1 = 1', $arguments1 = array(), $columns2 = 'i.relevance AS score', $join2 = '', $arguments2 = array(), $sort_parameters = 'ORDER BY score DESC') { $query = search_parse_query($keywords); if ($query[2] == '') {