diff --git a/modules/search.module b/modules/search.module index 9686b626d08fb45fa3871f69629893bf5dd90e0c..4a81a8fdb50c585dc20848808dc4cf68556fd4e5 100644 --- a/modules/search.module +++ b/modules/search.module @@ -891,7 +891,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['edit']['keys'])) { + if (!isset($_POST['edit']['form_id'])) { if ($type == '') { // Note: search/node can not be a default tab because it would take on the // path of its parent (search). It would prevent remembering keywords when diff --git a/modules/search/search.module b/modules/search/search.module index 9686b626d08fb45fa3871f69629893bf5dd90e0c..4a81a8fdb50c585dc20848808dc4cf68556fd4e5 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -891,7 +891,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['edit']['keys'])) { + if (!isset($_POST['edit']['form_id'])) { if ($type == '') { // Note: search/node can not be a default tab because it would take on the // path of its parent (search). It would prevent remembering keywords when