diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-05-07 04:39:31 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-05-07 04:39:31 +0000 |
commit | 238e7cb36eaa2a4e27ee75e69e87e7b399af48c9 (patch) | |
tree | 4bf5fe9d04c5cb61678142d0df0f31aa8f6bb756 /modules | |
parent | efe07dadf3aaca6e68ed32d805ffc9676a51692e (diff) | |
download | brdo-238e7cb36eaa2a4e27ee75e69e87e7b399af48c9.tar.gz brdo-238e7cb36eaa2a4e27ee75e69e87e7b399af48c9.tar.bz2 |
#59944 by Zen, Forms do not function on the search page when the search form has invalid input
Diffstat (limited to 'modules')
-rw-r--r-- | modules/search.module | 2 | ||||
-rw-r--r-- | modules/search/search.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/search.module b/modules/search.module index 9686b626d..4a81a8fdb 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 9686b626d..4a81a8fdb 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 |