aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-10-28 19:43:35 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-10-28 19:43:35 -0700
commit848e3f6c5d2aa10025fae11d1344c09c9adb84f9 (patch)
tree18bd336d56c4199d1891982c59b091128fada7dc /include/items.php
parent1f5818cec875caaef60c62b03498e15835722a5a (diff)
downloadvolse-hubzilla-848e3f6c5d2aa10025fae11d1344c09c9adb84f9.tar.gz
volse-hubzilla-848e3f6c5d2aa10025fae11d1344c09c9adb84f9.tar.bz2
volse-hubzilla-848e3f6c5d2aa10025fae11d1344c09c9adb84f9.zip
photos linked item visibility issue
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index 08be981e7..ce8e2b9b0 100755
--- a/include/items.php
+++ b/include/items.php
@@ -4792,7 +4792,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 ) ";
+ $sql_extra = " AND item.parent IN ( SELECT parent FROM item WHERE item_thread_top = 1 $sql_options $item_normal ) ";
if($arr['since_id'])
$sql_extra .= " and item.id > " . $since_id . " ";