diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-07-07 14:52:06 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-07-07 14:52:06 +0200 |
commit | cc7eaa0d050cde57024eb7baff042513479ed0c4 (patch) | |
tree | 953cfcf2a07d81b3130afcffa182679f2ca9741b | |
parent | b50151d7bf5f05b4cac8afa2674605e195d12e9a (diff) | |
download | volse-hubzilla-cc7eaa0d050cde57024eb7baff042513479ed0c4.tar.gz volse-hubzilla-cc7eaa0d050cde57024eb7baff042513479ed0c4.tar.bz2 volse-hubzilla-cc7eaa0d050cde57024eb7baff042513479ed0c4.zip |
code style correction
-rw-r--r-- | include/dir_fns.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/dir_fns.php b/include/dir_fns.php index 046f05a50..088c0ce96 100644 --- a/include/dir_fns.php +++ b/include/dir_fns.php @@ -113,8 +113,6 @@ function dir_sort_links() { $safe_mode = get_safemode_setting($observer); $globaldir = get_globaldir_setting($observer); - $suggest = ($_REQUEST['suggest']) ? '&suggest=' . $_REQUEST['suggest'] : ''; - // Build urls without order and pubforums so it's easy to tack on the changed value // Probably there's an easier way to do this @@ -123,8 +121,9 @@ function dir_sort_links() { if(! $directory_sort_order) $directory_sort_order = 'date'; - $current_order = (($_REQUEST['order']) ? $_REQUEST['order'] : $directory_sort_order); + $suggest = (($_REQUEST['suggest']) ? '&suggest=' . $_REQUEST['suggest'] : ''); + $url = 'directory?f='; $tmp = array_merge($_GET,$_POST); |