aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-03-30 21:06:41 -0700
committerfriendica <info@friendica.com>2015-03-30 21:06:41 -0700
commitcbaa2a9b847bca5b7df4136d961058c7b459be98 (patch)
tree4153d97af58b2ff6b2951620884c2c3924194bb8 /mod
parentda04ae78886d4d6f04c7add9b454ced41c8ab838 (diff)
downloadvolse-hubzilla-cbaa2a9b847bca5b7df4136d961058c7b459be98.tar.gz
volse-hubzilla-cbaa2a9b847bca5b7df4136d961058c7b459be98.tar.bz2
volse-hubzilla-cbaa2a9b847bca5b7df4136d961058c7b459be98.zip
don't included any deleted posts in the self query
Diffstat (limited to 'mod')
-rw-r--r--mod/network.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/network.php b/mod/network.php
index 8db3bfd58..d96c6830d 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -324,7 +324,7 @@ function network_content(&$a, $update = 0, $load = false) {
}
if($conv) {
- $sql_extra .= sprintf(" AND parent IN (SELECT distinct(parent) from item where ( author_xchan like '%s' or ( item_flags & %d ) > 0)) ",
+ $sql_extra .= sprintf(" AND parent IN (SELECT distinct(parent) from item where ( author_xchan like '%s' or ( item_flags & %d ) > 0) and item_restrict = 0 ) ",
dbesc(protect_sprintf($channel['channel_hash'])),
intval(ITEM_MENTIONSME)
);