Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
eb2bed28
Commit
eb2bed28
authored
Feb 01, 2006
by
Dries Buytaert
Browse files
- Patch
#46123
by markus: rebuild the menu after chaning settings.
parent
a0382018
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/system.module
View file @
eb2bed28
...
...
@@ -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'
]);
}
...
...
modules/system/system.module
View file @
eb2bed28
...
...
@@ -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'
]);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment