diff options
author | Tobias Hößl <tobias@hoessl.eu> | 2012-03-09 10:00:12 +0000 |
---|---|---|
committer | Tobias Hößl <tobias@hoessl.eu> | 2012-03-09 10:00:12 +0000 |
commit | 635958e11da2f5a0d587b66968453064c2d41f13 (patch) | |
tree | 9e9b21d45551772a4aac8a54e3bafa382681ed70 /mod/search.php | |
parent | 02a9fd5dc1d1d9e848e2f406f2e13c4cf0ce228b (diff) | |
parent | 2ce78253aeda8672e12f18f0963f52cd4a35e546 (diff) | |
download | volse-hubzilla-635958e11da2f5a0d587b66968453064c2d41f13.tar.gz volse-hubzilla-635958e11da2f5a0d587b66968453064c2d41f13.tar.bz2 volse-hubzilla-635958e11da2f5a0d587b66968453064c2d41f13.zip |
Merge branch 'master' of git://github.com/friendica/friendica
Diffstat (limited to 'mod/search.php')
-rwxr-xr-x | mod/search.php | 2 |
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 |