diff options
-rw-r--r-- | includes/common.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc index 957680056..865877df4 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -208,7 +208,7 @@ function drupal_get_destination() { } else { // Use $_REQUEST here to retrieve the original path. - $path = isset($_REQUEST['q']) ? $_REQUEST['q'] : ''; + $path = isset($_REQUEST['q']) ? drupal_get_path_alias($_REQUEST['q']) : ''; $query = drupal_query_string_encode($_GET, array('q')); if ($query != '') { $path .= '?'. $query; |