diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-04-23 07:34:22 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-04-23 07:34:22 +0000 |
commit | 00b04ba41c975fcbbd44b79da3b2aafadacc6ad8 (patch) | |
tree | ab4351e06af495e1d0041cfe1011014243fc09c7 /modules/search.module | |
parent | 31d2520e8d5d5e0671eb5922e651fcc32fbbd616 (diff) | |
download | brdo-00b04ba41c975fcbbd44b79da3b2aafadacc6ad8.tar.gz brdo-00b04ba41c975fcbbd44b79da3b2aafadacc6ad8.tar.bz2 |
- Fix search index not wiping on admin settings change.
Diffstat (limited to 'modules/search.module')
-rw-r--r-- | modules/search.module | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/search.module b/modules/search.module index 8b7b5cdb7..6a43604d8 100644 --- a/modules/search.module +++ b/modules/search.module @@ -128,10 +128,9 @@ function search_admin() { if ($_POST) { // If the word length settings change, the index needs to be rebuilt. if (variable_get('minimum_word_size', 3) != $_POST['edit']['minimum_word_size']) { - // Note: ensure logical order of messages - system_settings_save(); drupal_set_message(t('The index will be rebuilt.')); search_wipe(); + system_settings_save(); } else { system_settings_save(); |