aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-10-30 16:21:24 -0700
committerfriendica <info@friendica.com>2012-10-30 16:21:24 -0700
commitffadf260c0682e069ef81fe34c75e1217b7e37fb (patch)
tree8d1322d8a3b4ac47b9dfab8b5c0e56b01d1bbd23 /mod
parentdca20f42278e9d837d5cbfd130fc04ecaf09947d (diff)
downloadvolse-hubzilla-ffadf260c0682e069ef81fe34c75e1217b7e37fb.tar.gz
volse-hubzilla-ffadf260c0682e069ef81fe34c75e1217b7e37fb.tar.bz2
volse-hubzilla-ffadf260c0682e069ef81fe34c75e1217b7e37fb.zip
fix channel creation and management after last changes
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())
);