From ffadf260c0682e069ef81fe34c75e1217b7e37fb Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 30 Oct 2012 16:21:24 -0700 Subject: fix channel creation and management after last changes --- mod/manage.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mod/manage.php') 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()) ); -- cgit v1.2.3