diff options
author | Max Kostikov <max@kostikov.co> | 2019-10-12 19:26:17 +0200 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2019-10-12 19:26:17 +0200 |
commit | 6a25548097dbf65936519fd078ca4b3065ceadae (patch) | |
tree | 3ea2abe08c3451a9713a0a232efc9d07793c470f | |
parent | db7cbdfc44465e4f6c115fcb4269b060cd5c48cb (diff) | |
download | volse-hubzilla-6a25548097dbf65936519fd078ca4b3065ceadae.tar.gz volse-hubzilla-6a25548097dbf65936519fd078ca4b3065ceadae.tar.bz2 volse-hubzilla-6a25548097dbf65936519fd078ca4b3065ceadae.zip |
Update Channel.php
-rw-r--r-- | Zotlabs/Module/Channel.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Module/Channel.php b/Zotlabs/Module/Channel.php index 2fd27fe5b..3f617fd18 100644 --- a/Zotlabs/Module/Channel.php +++ b/Zotlabs/Module/Channel.php @@ -352,7 +352,7 @@ class Channel extends Controller { $parents_str = ids_to_querystr($r,'item_id'); - $items = q("SELECT item.*, item.id AS item_id + $r = q("SELECT item.*, item.id AS item_id FROM item WHERE item.uid = %d $item_normal AND item.parent IN ( %s ) @@ -361,8 +361,8 @@ class Channel extends Controller { dbesc($parents_str) ); - xchan_query($items); - $items = fetch_post_tags($items, true); + xchan_query($r); + $items = fetch_post_tags($r, true); $items = conv_sort($items,$ordering); if($load && $mid && (! count($items))) { |