summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index a34b2fddc..83b81116a 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -1083,7 +1083,7 @@ function system_settings_form_submit($form_id, $form_values) {
$op = isset($form_values['op']) ? $form_values['op'] : '';
// Exclude unnecessary elements.
- unset($form_values['submit'], $form_values['reset'], $form_values['form_id']);
+ unset($form_values['submit'], $form_values['reset'], $form_values['form_id'], $form_values['op'], $form_values['form_token']);
foreach ($form_values as $key => $value) {
if ($op == t('Reset to defaults')) {