aboutsummaryrefslogtreecommitdiffstats
path: root/mod/directory.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-12-16 18:33:16 -0800
committerfriendica <info@friendica.com>2014-12-16 18:33:16 -0800
commit2fcbb9c4b3b4c5c3216b279820ccf7902337ae9c (patch)
tree133705a8c2419df81a33ac2373655b0f15e9201a /mod/directory.php
parent6c8ff37591f71add7fc4a747ae1cc80febacfe85 (diff)
downloadvolse-hubzilla-2fcbb9c4b3b4c5c3216b279820ccf7902337ae9c.tar.gz
volse-hubzilla-2fcbb9c4b3b4c5c3216b279820ccf7902337ae9c.tar.bz2
volse-hubzilla-2fcbb9c4b3b4c5c3216b279820ccf7902337ae9c.zip
fix some directory anomolies
Diffstat (limited to 'mod/directory.php')
-rw-r--r--mod/directory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/directory.php b/mod/directory.php
index 98d81f947..4ceda293d 100644
--- a/mod/directory.php
+++ b/mod/directory.php
@@ -130,7 +130,7 @@ function directory_content(&$a) {
if(! is_null($pubforums))
$query .= '&pubforums=' . intval($pubforums);
- $sort_order = ((x($_REQUEST,'order')) ? $_REQUEST['order'] : '');
+ $sort_order = ((x($_REQUEST,'order')) ? $_REQUEST['order'] : 'normal');
if($sort_order)
$query .= '&order=' . urlencode($sort_order);