]> git.mxchange.org Git - friendica.git/commitdiff
"new" view broken after liveupdate fixes
authorfriendica <info@friendica.com>
Wed, 14 Dec 2011 11:51:50 +0000 (03:51 -0800)
committerfriendica <info@friendica.com>
Wed, 14 Dec 2011 11:51:50 +0000 (03:51 -0800)
mod/network.php

index e9e761c3ffd5eb5ab5c42649a735916bbddaee9b..8fa0b03e267f1c38a0174ebc8c583d7fe8a2bada 100644 (file)
@@ -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 {