diff options
Diffstat (limited to 'includes/common.inc')
-rw-r--r-- | includes/common.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/common.inc b/includes/common.inc index f1aabbda8..ff86ba85b 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -243,8 +243,8 @@ function drupal_get_destination() { return 'destination='. urlencode($_REQUEST['destination']); } else { - // Use $_REQUEST here to retrieve the original path. - $path = isset($_REQUEST['q']) ? drupal_get_path_alias($_REQUEST['q']) : ''; + // Use $_GET here to retrieve the original path in source form. + $path = isset($_GET['q']) ? $_GET['q'] : ''; $query = drupal_query_string_encode($_GET, array('q')); if ($query != '') { $path .= '?'. $query; |