summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/common.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 99da0b592..9b9f8b76c 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -218,10 +218,10 @@ function drupal_get_destination() {
* @see drupal_get_destination()
*/
function drupal_goto($path = '', $query = NULL, $fragment = NULL) {
- if ($_REQUEST['destination']) {
+ if (isset($_REQUEST['destination'])) {
extract(parse_url($_REQUEST['destination']));
}
- else if ($_REQUEST['edit']['destination']) {
+ else if (isset($_REQUEST['edit']['destination'])) {
extract(parse_url($_REQUEST['edit']['destination']));
}