diff options
author | zotlabs <mike@macgirvin.com> | 2019-04-28 18:21:28 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2019-04-28 18:21:28 -0700 |
commit | 6230dbed2d1c06c41b263af3a24180721c44f3c8 (patch) | |
tree | e6974fb15bac5844220287c94755f203dc403829 /include/items.php | |
parent | 13970280d91f652d3634e543c027c9f80fab28e9 (diff) | |
parent | 0cecfceb14083141da389b7cc1e413ba5d5ca6d7 (diff) | |
download | volse-hubzilla-6230dbed2d1c06c41b263af3a24180721c44f3c8.tar.gz volse-hubzilla-6230dbed2d1c06c41b263af3a24180721c44f3c8.tar.bz2 volse-hubzilla-6230dbed2d1c06c41b263af3a24180721c44f3c8.zip |
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'include/items.php')
-rwxr-xr-x | include/items.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php index c08deb3a0..95b696034 100755 --- a/include/items.php +++ b/include/items.php @@ -4278,7 +4278,7 @@ function items_fetch($arr,$channel = null,$observer_hash = null,$client_mode = C if($arr['mid']) $sql_options .= " and parent_mid = '" . dbesc($arr['mid']) . "' "; - $sql_extra = " AND item.parent IN ( SELECT parent FROM item WHERE item_thread_top = 1 $sql_options $item_normal ) "; + $sql_extra = " AND item.parent IN ( SELECT parent FROM item WHERE $item_uids and item_thread_top = 1 $sql_options $item_normal ) "; if($arr['since_id']) $sql_extra .= " and item.id > " . $since_id . " "; |