diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/dir_fns.php | 2 | ||||
-rw-r--r-- | include/text.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/dir_fns.php b/include/dir_fns.php index 2bd1228ec..99dcb63fb 100644 --- a/include/dir_fns.php +++ b/include/dir_fns.php @@ -133,7 +133,7 @@ function dir_sort_links() { unset($tmp['pubforums']); unset($tmp['global']); unset($tmp['safe']); - unset($tmp['q']); + unset($tmp['req']); unset($tmp['f']); $forumsurl = $url . http_build_query($tmp) . $suggest; diff --git a/include/text.php b/include/text.php index 8a07dc113..2d704cff1 100644 --- a/include/text.php +++ b/include/text.php @@ -2526,7 +2526,7 @@ function extra_query_args() { if(count($_GET)) { foreach($_GET as $k => $v) { // these are request vars we don't want to duplicate - if(! in_array($k, array('q','f','zid','page','PHPSESSID'))) { + if(! in_array($k, array('req','f','zid','page','PHPSESSID'))) { $s .= '&' . $k . '=' . urlencode($v); } } @@ -2534,7 +2534,7 @@ function extra_query_args() { if(count($_POST)) { foreach($_POST as $k => $v) { // these are request vars we don't want to duplicate - if(! in_array($k, array('q','f','zid','page','PHPSESSID'))) { + if(! in_array($k, array('req','f','zid','page','PHPSESSID'))) { $s .= '&' . $k . '=' . urlencode($v); } } |