aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/manage.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/manage.php b/mod/manage.php
index 57d33d086..9fbcea55d 100644
--- a/mod/manage.php
+++ b/mod/manage.php
@@ -22,8 +22,7 @@ function manage_content(&$a) {
$channels = null;
if(local_user()) {
- $r = q("select channel.*, contact.* from channel left join contact on channel.channel_id = contact.uid
- where channel.channel_account_id = %d and contact.self = 1",
+ $r = q("select channel.*, xchan.* from channel left join xchan on channel.channel_hash = xchan.xchan_hash where channel.channel_account_id = %d ",
intval(get_account_id())
);