aboutsummaryrefslogtreecommitdiffstats
path: root/include/iquery.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-07-17 16:02:16 -0700
committerfriendica <info@friendica.com>2012-07-17 16:02:16 -0700
commit073eb1b8455fe93e49a95125cb23c8d8accb96e2 (patch)
tree1633d6835a42c38d6a59573b49e8c50b11fee664 /include/iquery.php
parent359c74d320eef7fad24a30b677522a428affe509 (diff)
downloadvolse-hubzilla-073eb1b8455fe93e49a95125cb23c8d8accb96e2.tar.gz
volse-hubzilla-073eb1b8455fe93e49a95125cb23c8d8accb96e2.tar.bz2
volse-hubzilla-073eb1b8455fe93e49a95125cb23c8d8accb96e2.zip
backend support for alternate profile photos for private profiles
Diffstat (limited to 'include/iquery.php')
-rw-r--r--include/iquery.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/iquery.php b/include/iquery.php
index 6ec47da8c..dfcba52d9 100644
--- a/include/iquery.php
+++ b/include/iquery.php
@@ -7,7 +7,7 @@ function network_query($a,$arr) {
$parent_options = '';
$child_options = '';
- $ordering = (($arr['order'] === 'post') ? "`created`" ? "`commented`") . " DESC";
+ $ordering = (($arr['order'] === 'post') ? "`created`" : "`commented`") . " DESC ";
$itemspage = get_pconfig($arr['uid'],'system','itemspage_network');
$a->set_pager_itemspage(((intval($itemspage_network)) ? $itemspage_network : 40));
@@ -137,4 +137,3 @@ function network_query($a,$arr) {
-} \ No newline at end of file