aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-12-14 03:51:50 -0800
committerfriendica <info@friendica.com>2011-12-14 03:51:50 -0800
commit4007e7ec19bfca47a32ec73f1eb10d77f2de785f (patch)
treeb453aadcd21e5879cf203df802cde60dbc40e400 /mod
parentadcaefce89c23ebb518f3454be15379a9d57e560 (diff)
downloadvolse-hubzilla-4007e7ec19bfca47a32ec73f1eb10d77f2de785f.tar.gz
volse-hubzilla-4007e7ec19bfca47a32ec73f1eb10d77f2de785f.tar.bz2
volse-hubzilla-4007e7ec19bfca47a32ec73f1eb10d77f2de785f.zip
"new" view broken after liveupdate fixes
Diffstat (limited to 'mod')
-rw-r--r--mod/network.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/mod/network.php b/mod/network.php
index e9e761c3f..8fa0b03e2 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -398,10 +398,9 @@ function network_content(&$a, $update = 0) {
$simple_update = (($update) ? " and `item`.`unseen` = 1 " : '');
if($nouveau) {
-
// "New Item View" - show all items unthreaded in reverse created date order
- $r = q("SELECT `item`.*, `item`.`id` AS `item_id`,
+ $items = q("SELECT `item`.*, `item`.`id` AS `item_id`,
`contact`.`name`, `contact`.`photo`, `contact`.`url`, `contact`.`rel`, `contact`.`writable`,
`contact`.`network`, `contact`.`thumb`, `contact`.`dfrn-id`, `contact`.`self`,
`contact`.`id` AS `cid`, `contact`.`uid` AS `contact-uid`
@@ -414,7 +413,7 @@ function network_content(&$a, $update = 0) {
ORDER BY `item`.`received` DESC $pager_sql ",
intval($_SESSION['uid'])
);
-
+
}
else {