double q argument could also cause issues
This commit is contained in:
parent
1e4e7ce2d3
commit
af943f4569
@ -56,12 +56,15 @@ function dir_sort_links() {
|
||||
|
||||
$current_order = (($_REQUEST['order']) ? $_REQUEST['order'] : 'normal');
|
||||
$url = 'directory?';
|
||||
|
||||
$tmp = array_merge($_GET,$_POST);
|
||||
unset($tmp['order']);
|
||||
unset($tmp['q']);
|
||||
$sorturl = $url . http_build_query($tmp);
|
||||
$tmp = array_merge($_GET,$_POST);
|
||||
|
||||
$tmp = array_merge($_GET,$_POST);
|
||||
unset($tmp['pubforums']);
|
||||
unset($tmp['q']);
|
||||
$forumsurl = $url . http_build_query($tmp);
|
||||
|
||||
$o = replace_macros(get_markup_template('dir_sort_links.tpl'), array(
|
||||
|
Reference in New Issue
Block a user