- #48028: Better search form compatibility for lanky IE submission

4.7.x
Steven Wittens 2006-02-07 06:33:04 +00:00
parent d67a050347
commit 24a598a912
2 changed files with 2 additions and 2 deletions

View File

@ -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';
}

View File

@ -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';
}