mirror of https://github.com/BOINC/boinc.git
Fixed failure to redirect to appropriate language prefix when user language preference is changed
(DBOINCP-195)
This commit is contained in:
parent
b01962cafe
commit
4c04dca0d5
|
@ -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']);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue