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-08-04 17:27:47 +0400
committerCrack <piotrprz@gmail.com>2010-08-04 17:27:47 +0400
commita6b34a5977fd68e7da5e4703dbff487fbb579e5b (patch)
treebfd5390e45cf78c50ab1d105185f0619538a6c86 /prefs_forms.php
parent8b78fcec2696efa1fc0dbf2f501e8fea02b79c71 (diff)
fix generation of theme unique value
refresh session cache for config after save
Diffstat (limited to 'prefs_forms.php')
-rw-r--r--prefs_forms.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/prefs_forms.php b/prefs_forms.php
index 63cdea5027..c5cb8d1340 100644
--- a/prefs_forms.php
+++ b/prefs_forms.php
@@ -52,6 +52,8 @@ if ($form_display->process(false) && !$form_display->hasErrors()) {
$old_settings = PMA_load_userprefs();
$result = PMA_save_userprefs(ConfigFile::getInstance()->getConfigArray());
if ($result === true) {
+ // reload config
+ $GLOBALS['PMA_Config']->loadUserPreferences();
$hash = ltrim(filter_input(INPUT_POST, 'tab_hash'), '#');
PMA_userprefs_redirect($forms, $old_settings, 'prefs_forms.php', array(
'form' => $form_param), $hash);