diff options
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 691c76486..2d197c904 100644 --- a/modules/search.module +++ b/modules/search.module @@ -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'; diff --git a/modules/search/search.module b/modules/search/search.module index 691c76486..2d197c904 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -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'; |