Commit 24a598a9 authored by Steven Wittens's avatar Steven Wittens
Browse files

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

parent d67a0503
......@@ -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';
}
......
......@@ -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';
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment