diff options
-rw-r--r-- | includes/common.inc | 2 | ||||
-rw-r--r-- | includes/tablesort.inc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/includes/common.inc b/includes/common.inc index 649f57889..b7210f668 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -140,7 +140,7 @@ function drupal_get_headers() { */ function drupal_get_destination() { $destination[] = $_GET['q']; - $params = array('from', 'sort', 'order'); + $params = array('page', 'sort', 'order'); foreach ($params as $param) { if (isset($_GET[$param])) { $destination[] = "$param=". $_GET[$param]; diff --git a/includes/tablesort.inc b/includes/tablesort.inc index e4f044d89..0c08f4b93 100644 --- a/includes/tablesort.inc +++ b/includes/tablesort.inc @@ -27,7 +27,7 @@ function tablesort_init($header) { */ function tablesort_pager() { $cgi = $_SERVER['REQUEST_METHOD'] == 'GET' ? $_GET : $_POST; - unset($cgi['q'], $cgi['from']); + unset($cgi['q'], $cgi['page']); return $cgi; } |