From da388f4bc5bd3a1aaea3c54b94fe1f8e4cf10561 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 4 Feb 2013 17:46:04 -0800 Subject: fix new/search mod on network page, fix the parent queries on network and channel pages - which you probably didn't even notice were all stuffed up because the endless scroll made things right. --- mod/network.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/network.php') diff --git a/mod/network.php b/mod/network.php index 837ac7aea..fb457a7f1 100644 --- a/mod/network.php +++ b/mod/network.php @@ -622,7 +622,7 @@ function network_content(&$a, $update = 0, $load = false) { // Fetch a page full of parent items for this page - $r = q("SELECT item.id AS item_id FROM item + $r = q("SELECT distinct item.id AS item_id FROM item left join abook on item.author_xchan = abook.abook_xchan WHERE item.uid = %d AND item.item_restrict = 0 AND item.parent = item.id -- cgit v1.2.3