diff options
author | Crack <piotrprz@gmail.com> | 2010-07-28 00:12:53 +0400 |
---|---|---|
committer | Crack <piotrprz@gmail.com> | 2010-07-28 00:12:53 +0400 |
commit | ac3e9e323b3f33ec5804862943e63ab2e10f4a93 (patch) | |
tree | 15dcc6fdb561e1b71d85e9c419b5cb21c375eac6 /prefs_forms.php | |
parent | 65e0676ab4836603343951cf6b455e4d7756cfb5 (diff) |
keep selected tab after save
change pmadb to phpMyAdmin configuration storage in warning string
Diffstat (limited to 'prefs_forms.php')
-rw-r--r-- | prefs_forms.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/prefs_forms.php b/prefs_forms.php index 3db7a16824..2e170bf5af 100644 --- a/prefs_forms.php +++ b/prefs_forms.php @@ -61,8 +61,9 @@ if (!$form_display->process(false)) { $old_settings = PMA_load_userprefs(); $result = PMA_save_userprefs($cf->getConfigArray()); if ($result === true) { + $hash = ltrim(filter_input(INPUT_POST, 'tab_hash'), '#'); PMA_userprefs_redirect($forms, $old_settings, 'prefs_forms.php', array( - 'form' => $form_param)); + 'form' => $form_param), $hash); exit; } else { $result->display(); |