diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-09-17 19:14:16 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-09-17 19:14:16 +0000 |
commit | 5f8027f94c04b495230bc57a798c923fd3d14644 (patch) | |
tree | 3122325bccdb66fc5cad1c8a8db8bddfc35a455a /modules/search/search.module | |
parent | cb8201c337c293cc7dd7f9a25579f18d4549324b (diff) | |
download | brdo-5f8027f94c04b495230bc57a798c923fd3d14644.tar.gz brdo-5f8027f94c04b495230bc57a798c923fd3d14644.tar.bz2 |
- Patch #83397 by edkwh: -> . Getting rid of super-globals.
Diffstat (limited to 'modules/search/search.module')
-rw-r--r-- | modules/search/search.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/search/search.module b/modules/search/search.module index d23ef0a4c..88bdf5ff6 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -200,7 +200,7 @@ function search_menu($may_cache) { * Validate callback. */ function search_admin_settings_validate($form_id, $form_values) { - if ($_POST['op'] == t('Re-index site')) { + if ($form_values['op'] == t('Re-index site')) { drupal_goto('admin/settings/search/wipe'); } // If these settings change, the index needs to be rebuilt. |