aboutsummaryrefslogtreecommitdiffstats
path: root/include/dir_fns.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-07-07 14:52:06 +0200
committerMario Vavti <mario@mariovavti.com>2015-07-07 14:52:06 +0200
commitcc7eaa0d050cde57024eb7baff042513479ed0c4 (patch)
tree953cfcf2a07d81b3130afcffa182679f2ca9741b /include/dir_fns.php
parentb50151d7bf5f05b4cac8afa2674605e195d12e9a (diff)
downloadvolse-hubzilla-cc7eaa0d050cde57024eb7baff042513479ed0c4.tar.gz
volse-hubzilla-cc7eaa0d050cde57024eb7baff042513479ed0c4.tar.bz2
volse-hubzilla-cc7eaa0d050cde57024eb7baff042513479ed0c4.zip
code style correction
Diffstat (limited to 'include/dir_fns.php')
-rw-r--r--include/dir_fns.php5
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);