From 24a598a91224a4c8a2bf5e6723cb12d24e4a3cbf Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Tue, 7 Feb 2006 06:33:04 +0000 Subject: - #48028: Better search form compatibility for lanky IE submission --- modules/search.module | 2 +- modules/search/search.module | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/search.module b/modules/search.module index 34ac1ef98..a51a83f01 100644 --- a/modules/search.module +++ b/modules/search.module @@ -886,7 +886,7 @@ function search_view() { // Search form submits with POST but redirects to GET. This way we can keep // the search query URL clean as a whistle: // search/type/keyword+keyword - if (isset($_POST['op'])) { + if (isset($_POST['edit']['keys'])) { if ($type == '') { $type = 'node'; } diff --git a/modules/search/search.module b/modules/search/search.module index 34ac1ef98..a51a83f01 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -886,7 +886,7 @@ function search_view() { // Search form submits with POST but redirects to GET. This way we can keep // the search query URL clean as a whistle: // search/type/keyword+keyword - if (isset($_POST['op'])) { + if (isset($_POST['edit']['keys'])) { if ($type == '') { $type = 'node'; } -- cgit v1.2.3