aboutsummaryrefslogtreecommitdiffstats
path: root/mod/network.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/network.php')
-rw-r--r--mod/network.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/network.php b/mod/network.php
index 4508d41be..e7e806e8a 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -339,11 +339,11 @@ function network_content(&$a, $update = 0, $load = false) {
// "New Item View" - show all items unthreaded in reverse created date order
$items = q("SELECT `item`.*, `item`.`id` AS `item_id` FROM `item`
- WHERE `item`.`uid` = %d AND item_restrict = 0
+ WHERE true $uids AND item_restrict = 0
$simple_update
- $sql_extra $sql_nets
+ $sql_extra $sql_nets group by item.mid
ORDER BY `item`.`received` DESC $pager_sql ",
- intval($_SESSION['uid'])
+
);
require_once('include/items.php');