aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-07-16 23:14:11 -0700
committerfriendica <info@friendica.com>2012-07-16 23:14:11 -0700
commite03da2beba27afa7abb748ad5134215cf6b582a7 (patch)
treefd5aae08dc093624fa33457271f1031a7ab57d3d /mod
parent54ffc32d7c4d9c9d1231bdfa2147b7dc6ef12743 (diff)
downloadvolse-hubzilla-e03da2beba27afa7abb748ad5134215cf6b582a7.tar.gz
volse-hubzilla-e03da2beba27afa7abb748ad5134215cf6b582a7.tar.bz2
volse-hubzilla-e03da2beba27afa7abb748ad5134215cf6b582a7.zip
first cut at a generalised item query function
Diffstat (limited to 'mod')
-rw-r--r--mod/network.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/network.php b/mod/network.php
index 79587a581..11d951ef9 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -614,6 +614,8 @@ function network_content(&$a, $update = 0) {
);
}
else {
+
+
$r = q("SELECT `item`.`id` AS `item_id`, `contact`.`uid` AS `contact_uid`
FROM `item` LEFT JOIN `contact` ON `contact`.`id` = `item`.`contact-id`
WHERE `item`.`uid` = %d AND `item`.`visible` = 1 AND `item`.`deleted` = 0