- Patch #46123 by markus: rebuild the menu after chaning settings.

4.7.x
Dries Buytaert 2006-02-01 15:34:55 +00:00
parent a038201841
commit eb2bed2833
2 changed files with 2 additions and 6 deletions

View File

@ -786,9 +786,7 @@ function system_settings_form_submit($form_id, $values) {
else {
drupal_set_message(t('The configuration options have been saved.'));
}
if ($form_id == 'system_settings_form') {
menu_rebuild();
}
menu_rebuild();
drupal_goto($_GET['q']);
}

View File

@ -786,9 +786,7 @@ function system_settings_form_submit($form_id, $values) {
else {
drupal_set_message(t('The configuration options have been saved.'));
}
if ($form_id == 'system_settings_form') {
menu_rebuild();
}
menu_rebuild();
drupal_goto($_GET['q']);
}