summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-02-27 14:19:07 +0000
committerGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-02-27 14:19:07 +0000
commit2173ef13fde5e7ca08cfded999b2bb857137e7c7 (patch)
tree195b02d32c2cfde422e17a3f26c8a197f31c9a45 /includes
parent72a73fedbdba3bcd7f47725f5ec98426c1a5f4f5 (diff)
downloadbrdo-2173ef13fde5e7ca08cfded999b2bb857137e7c7.tar.gz
brdo-2173ef13fde5e7ca08cfded999b2bb857137e7c7.tar.bz2
#50772, Getting destination from $_REQUEST, patch by rmiotke
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']));
}