diff options
Diffstat (limited to 'modules/node/node.pages.inc')
-rw-r--r-- | modules/node/node.pages.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/node/node.pages.inc b/modules/node/node.pages.inc index a0bbf92b0..e794fd0b2 100644 --- a/modules/node/node.pages.inc +++ b/modules/node/node.pages.inc @@ -301,9 +301,9 @@ function node_form($form, &$form_state, $node) { */ function node_form_delete_submit($form, &$form_state) { $destination = ''; - if (isset($_REQUEST['destination'])) { + if (isset($_GET['destination'])) { $destination = drupal_get_destination(); - unset($_REQUEST['destination']); + unset($_GET['destination']); } $node = $form['#node']; $form_state['redirect'] = array('node/' . $node->nid . '/delete', $destination); |