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
02eb24bf
Commit
02eb24bf
authored
Dec 27, 2005
by
Dries Buytaert
Browse files
- Bug
#42107
: redirect to the main page instead of to 'node'.
parent
34a5d460
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/node.module
View file @
02eb24bf
...
...
@@ -1894,7 +1894,7 @@ function node_delete_confirm() {
function node_delete_confirm_submit($form_id, $form_values) {
if ($form_values['confirm']) {
node_delete($form_values['nid']);
drupal_goto(
'node'
);
drupal_goto();
}
}
...
...
modules/node/node.module
View file @
02eb24bf
...
...
@@ -1894,7 +1894,7 @@ function node_delete_confirm() {
function node_delete_confirm_submit($form_id, $form_values) {
if ($form_values['confirm']) {
node_delete($form_values['nid']);
drupal_goto(
'node'
);
drupal_goto();
}
}
...
...
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