Fixed failure to redirect to appropriate language prefix when user language preference is changed

(DBOINCP-195)
This commit is contained in:
Tristan Olive 2015-06-12 13:12:35 -04:00
parent b01962cafe
commit 4c04dca0d5
1 changed files with 3 additions and 0 deletions

View File

@ -1648,6 +1648,9 @@ function communityprefs_form_submit($form, &$form_state) {
user_save($user, $settings);
drupal_set_message(t('Your community preferences have been updated.'));
// Form will not redirect if storage is set; not good if language changes
unset($form_state['storage']);
}
/**