Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCrack <piotrprz@gmail.com>2010-07-28 00:12:53 +0400
committerCrack <piotrprz@gmail.com>2010-07-28 00:12:53 +0400
commitac3e9e323b3f33ec5804862943e63ab2e10f4a93 (patch)
tree15dcc6fdb561e1b71d85e9c419b5cb21c375eac6 /prefs_forms.php
parent65e0676ab4836603343951cf6b455e4d7756cfb5 (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.php3
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();