From 112e4e6c9c807b834c34599a7602da33adfb410e Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 19 Oct 2012 15:40:13 -0700 Subject: more work on profile changes - the notify activity is still stuffed as we finalise the json structure for activitystream meta-data --- include/security.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/security.php') diff --git a/include/security.php b/include/security.php index 926b2a8fe..d1b3deca7 100644 --- a/include/security.php +++ b/include/security.php @@ -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()) ); -- cgit v1.2.3