aboutsummaryrefslogtreecommitdiffstats
path: root/mod/network.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-03-26 22:11:34 -0700
committerfriendica <info@friendica.com>2014-03-26 22:11:34 -0700
commit3044dc7f6ddc096dcdf6357212c6e27760f2f9ea (patch)
tree71610a75acba843a60d1b3efedc4d8d762202cdb /mod/network.php
parent5a3903a40c508a6b5e9a90986564e5c4918223cc (diff)
downloadvolse-hubzilla-3044dc7f6ddc096dcdf6357212c6e27760f2f9ea.tar.gz
volse-hubzilla-3044dc7f6ddc096dcdf6357212c6e27760f2f9ea.tar.bz2
volse-hubzilla-3044dc7f6ddc096dcdf6357212c6e27760f2f9ea.zip
catch the "new" view as well
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');