aboutsummaryrefslogtreecommitdiffstats
path: root/mod/network.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-04-11 03:22:09 -0700
committerFriendika <info@friendika.com>2011-04-11 03:22:09 -0700
commitc8f32536ff77193689efe69702f91122f97c1f36 (patch)
tree9572912bab0a8f7fb8783873f999ea7e880774e9 /mod/network.php
parent9133a2384aecd61f8ee59b380d82dc2d58660703 (diff)
downloadvolse-hubzilla-c8f32536ff77193689efe69702f91122f97c1f36.tar.gz
volse-hubzilla-c8f32536ff77193689efe69702f91122f97c1f36.tar.bz2
volse-hubzilla-c8f32536ff77193689efe69702f91122f97c1f36.zip
pull in new 'writable' dfrn flag
Diffstat (limited to 'mod/network.php')
-rw-r--r--mod/network.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/network.php b/mod/network.php
index 5461aae3f..29b852c07 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -202,7 +202,7 @@ function network_content(&$a, $update = 0) {
// "New Item View" - show all items unthreaded in reverse created date order
$r = q("SELECT `item`.*, `item`.`id` AS `item_id`,
- `contact`.`name`, `contact`.`photo`, `contact`.`url`, `contact`.`rel`,
+ `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`
FROM `item`, `contact`
@@ -246,7 +246,7 @@ function network_content(&$a, $update = 0) {
$parents_str = implode(', ', $parents_arr);
$r = q("SELECT `item`.*, `item`.`id` AS `item_id`,
- `contact`.`name`, `contact`.`photo`, `contact`.`url`, `contact`.`rel`,
+ `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`
FROM `item`, (SELECT `p`.`id`,`p`.`created` FROM `item` AS `p` WHERE `p`.`parent`=`p`.`id`) as `parentitem`, `contact`