diff options
Diffstat (limited to 'modules/node')
-rw-r--r-- | modules/node/node.pages.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node/node.pages.inc b/modules/node/node.pages.inc index a2643ee5f..969cc357a 100644 --- a/modules/node/node.pages.inc +++ b/modules/node/node.pages.inc @@ -300,7 +300,7 @@ function node_form($form, &$form_state, $node) { * Button submit function: handle the 'Delete' button on the node form. */ function node_form_delete_submit($form, &$form_state) { - $destination = ''; + $destination = array(); if (isset($_GET['destination'])) { $destination = drupal_get_destination(); unset($_GET['destination']); |