summaryrefslogtreecommitdiff
path: root/modules/search.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/search.module')
-rw-r--r--modules/search.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/search.module b/modules/search.module
index 7e02865d2..8fc6091aa 100644
--- a/modules/search.module
+++ b/modules/search.module
@@ -134,7 +134,7 @@ function search_admin() {
* (optional) The type of item to wipe.
*
*/
-function search_wipe($type = NULL, $sid = NULL) {
+function search_wipe($sid = NULL, $type = NULL) {
if ($type == NULL && $sid == NULL) {
db_query('DELETE FROM {search_index}');
db_query('DELETE FROM {search_total}');