more work on profile changes - the notify activity is still stuffed as we finalise the json structure for activitystream meta-data

This commit is contained in:
friendica
2012-10-19 15:40:13 -07:00
parent b60560812f
commit 112e4e6c9c
3 changed files with 37 additions and 31 deletions

View File

@@ -206,7 +206,7 @@ function change_channel($change_channel) {
$ret = false;
if($change_channel) {
$r = q("select * from channel where channel_id = %d and channel_account_id = %d limit 1",
$r = q("select channel.*, xchan.* from channel left join xchan on channel.channel_hash = xchan.xchan_hash where channel_id = %d and channel_account_id = %d limit 1",
intval($change_channel),
intval(get_account_id())
);