fix channel creation and management after last changes

This commit is contained in:
friendica
2012-10-30 16:21:24 -07:00
parent dca20f4227
commit ffadf260c0
5 changed files with 6 additions and 7 deletions

View File

@@ -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())
);