diff options
Diffstat (limited to 'include/iquery.php')
-rw-r--r-- | include/iquery.php | 3 |
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 |