diff options
author | friendica <info@friendica.com> | 2012-07-16 23:14:11 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-07-16 23:14:11 -0700 |
commit | e03da2beba27afa7abb748ad5134215cf6b582a7 (patch) | |
tree | fd5aae08dc093624fa33457271f1031a7ab57d3d /mod/network.php | |
parent | 54ffc32d7c4d9c9d1231bdfa2147b7dc6ef12743 (diff) | |
download | volse-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/network.php')
-rw-r--r-- | mod/network.php | 2 |
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 |