summaryrefslogtreecommitdiffstats
path: root/templates/show_preferences.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_preferences.inc.php')
-rw-r--r--templates/show_preferences.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show_preferences.inc.php b/templates/show_preferences.inc.php
index c2cb94e0..0ecc4984 100644
--- a/templates/show_preferences.inc.php
+++ b/templates/show_preferences.inc.php
@@ -33,7 +33,7 @@ if ($_REQUEST['tab'] != 'account' && $_REQUEST['tab'] != 'modules') {
?>
<input class="button" type="submit" value="<?php echo _('Update Preferences'); ?>" />
- <input type="hidden" name="tab" value="<?php echo scrub_out($current_tab); ?>" />
+ <input type="hidden" name="tab" value="<?php echo scrub_out($_REQUEST['tab']); ?>" />
<input type="hidden" name="method" value="<?php echo scrub_out($_REQUEST['action']); ?>" />
<input class="button" type="submit" name="action" value="<?php echo _("Cancel"); ?>" />
<?php