fix generation of theme unique value

refresh session cache for config after save
This commit is contained in:
Crack
2010-08-04 15:27:47 +02:00
parent 8b78fcec26
commit a6b34a5977
3 changed files with 6 additions and 1 deletions

View File

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