Commit bf3c1370 authored by Steven Wittens's avatar Steven Wittens

Fixing search tabs going back to "content" when searching on other tabs.

parent 6d8d934c
......@@ -583,7 +583,7 @@ function search_form($action = '', $keys = '', $type = null) {
$edit = $_POST['edit'];
if (!$action) {
$action = url('search');
$action = url('search/'. $type);
}
if (!$type) {
$type = 'node';
......
......@@ -583,7 +583,7 @@ function search_form($action = '', $keys = '', $type = null) {
$edit = $_POST['edit'];
if (!$action) {
$action = url('search');
$action = url('search/'. $type);
}
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