diff options
Diffstat (limited to 'modules/search.module')
-rw-r--r-- | modules/search.module | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/modules/search.module b/modules/search.module index 8a332263b..f024f0d5e 100644 --- a/modules/search.module +++ b/modules/search.module @@ -364,15 +364,7 @@ function search_view($keys) { theme("box", t("Search Results"), $output); } else { - // no results. try a substring search - $output = search_data("*". $keys. "*"); - - if ($output) { - theme("box", t("Search Results"), $output); - } - else { - theme("box", t("Search Results"), t("Your search yielded no results.")); - } + theme("box", t("Search Results"), t("Your search yielded no results.")); } } |