aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/dir_fns.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dir_fns.php b/include/dir_fns.php
index af6f78c01..98b906e84 100644
--- a/include/dir_fns.php
+++ b/include/dir_fns.php
@@ -56,10 +56,10 @@ function dir_sort_links() {
$current_order = (($_REQUEST['order']) ? $_REQUEST['order'] : 'normal');
$url = 'directory?';
- $tmp = $_REQUEST;
+ $tmp = array_merge($_GET,$_POST);
unset($tmp['order']);
$sorturl = $url . http_build_query($tmp);
- $tmp = $_REQUEST;
+ $tmp = array_merge($_GET,$_POST);
unset($tmp['pubforums']);
$forumsurl = $url . http_build_query($tmp);