Commit 02eb24bf authored by Dries's avatar Dries
Browse files

- Bug #42107: redirect to the main page instead of to 'node'.

parent 34a5d460
......@@ -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();
}
}
......
......@@ -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();
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment