aboutsummaryrefslogtreecommitdiffstats
path: root/mod/search.php
diff options
context:
space:
mode:
authorThomas <rat@rlyeh-military-affairs>2012-03-06 23:56:37 +0000
committerThomas <rat@rlyeh-military-affairs>2012-03-06 23:56:37 +0000
commitdadf80f64479792be85c7026fe1e3c5440066211 (patch)
tree9bb9f515c571d361b9e16f6ef6a308f4ffac5ed2 /mod/search.php
parent22624917e03b0ea90de19b0808c5435aa04d3613 (diff)
parent05a52b2660a879a97d511b180e26fe12310d0464 (diff)
downloadvolse-hubzilla-dadf80f64479792be85c7026fe1e3c5440066211.tar.gz
volse-hubzilla-dadf80f64479792be85c7026fe1e3c5440066211.tar.bz2
volse-hubzilla-dadf80f64479792be85c7026fe1e3c5440066211.zip
Merge remote-tracking branch 'upstream/master'
Conflicts: images/smiley-beard.png
Diffstat (limited to 'mod/search.php')
-rwxr-xr-xmod/search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/search.php b/mod/search.php
index fe09b671f..386592ea1 100755
--- a/mod/search.php
+++ b/mod/search.php
@@ -127,7 +127,7 @@ function search_content(&$a) {
FROM `item` LEFT JOIN `contact` ON `contact`.`id` = `item`.`contact-id`
LEFT JOIN `user` ON `user`.`uid` = `item`.`uid`
WHERE `item`.`visible` = 1 AND `item`.`deleted` = 0 and `item`.`moderated` = 0
- AND (( `wall` = 1 AND `item`.`allow_cid` = '' AND `item`.`allow_gid` = '' AND `item`.`deny_cid` = '' AND `item`.`deny_gid` = '' AND `user`.`hidewall` = 0 )
+ AND (( `wall` = 1 AND `item`.`allow_cid` = '' AND `item`.`allow_gid` = '' AND `item`.`deny_cid` = '' AND `item`.`deny_gid` = '' AND `item`.`private` = 0 AND `user`.`hidewall` = 0 )
OR `item`.`uid` = %d )
AND `contact`.`blocked` = 0 AND `contact`.`pending` = 0
$search_alg