From bceaf8f0daf1d76bb33afdef8ea231fbc855a5c2 Mon Sep 17 00:00:00 2001 From: Neil Drumm Date: Tue, 29 Aug 2006 09:12:03 +0000 Subject: #80574 Eaton and chx. Replace $_POST['edit'] with $_POST. --- modules/search/search.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/search/search.module') diff --git a/modules/search/search.module b/modules/search/search.module index 8a4573b77..7e19593b0 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -908,7 +908,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']['form_id'])) { + if (!isset($_POST['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 -- cgit v1.2.3