From 5f8027f94c04b495230bc57a798c923fd3d14644 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 17 Sep 2006 19:14:16 +0000 Subject: - Patch #83397 by edkwh: -> . Getting rid of super-globals. --- modules/search/search.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/search/search.module') 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. -- cgit v1.2.3