keep selected tab after save

change pmadb to phpMyAdmin configuration storage in warning string
This commit is contained in:
Crack
2010-07-27 22:12:53 +02:00
parent 65e0676ab4
commit ac3e9e323b
5 changed files with 12 additions and 5 deletions

View File

@@ -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();