From 073eb1b8455fe93e49a95125cb23c8d8accb96e2 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 17 Jul 2012 16:02:16 -0700 Subject: backend support for alternate profile photos for private profiles --- include/iquery.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/iquery.php') 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 -- cgit v1.2.3