aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dirsearch.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-09-22 20:38:24 -0700
committerfriendica <info@friendica.com>2013-09-22 20:38:24 -0700
commitcdfb5f9dc740734fbd95363a026ab44ae1dd9d94 (patch)
tree0b3953bb3f1d860ac728f762cd6f378b67830ba7 /mod/dirsearch.php
parentdf8035344fed17950cd129cf42bb1aab210dc334 (diff)
downloadvolse-hubzilla-cdfb5f9dc740734fbd95363a026ab44ae1dd9d94.tar.gz
volse-hubzilla-cdfb5f9dc740734fbd95363a026ab44ae1dd9d94.tar.bz2
volse-hubzilla-cdfb5f9dc740734fbd95363a026ab44ae1dd9d94.zip
adult channel setting
Diffstat (limited to 'mod/dirsearch.php')
-rw-r--r--mod/dirsearch.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/dirsearch.php b/mod/dirsearch.php
index fc0ac4fe3..3fec691be 100644
--- a/mod/dirsearch.php
+++ b/mod/dirsearch.php
@@ -102,9 +102,9 @@ function dirsearch_content(&$a) {
$logic = ((strlen($sql_extra)) ? 0 : 1);
- $safesql = (($safe > 0) ? " and not ( xchan_flags & " . intval(XCHAN_FLAGS_CENSORED) . " ) " : '');
+ $safesql = (($safe > 0) ? " and not ( xchan_flags & " . intval(XCHAN_FLAGS_CENSORED|XCHAN_FLAGS_SELFCENSORED) . " ) " : '');
if($safe < 0)
- $safesql = " and ( xchan_flags & " . intval(XCHAN_FLAGS_CENSORED) . " ) ";
+ $safesql = " and ( xchan_flags & " . intval(XCHAN_FLAGS_CENSORED|XCHAN_FLAGS_SELFCENSORED) . " ) ";
if($limit)
$qlimit = " LIMIT $limit ";