aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-09-26 16:25:28 -0700
committerfriendica <info@friendica.com>2013-09-26 16:25:28 -0700
commitedc5566f79c94f7ad994eccc7a8bb0e586961cf4 (patch)
tree2700d1f415e550a9f2aad009cd0a5eafd1ec9f2e /include/zot.php
parent6519433301a571d8e12ffa24b56534bb2e3afe5f (diff)
downloadvolse-hubzilla-edc5566f79c94f7ad994eccc7a8bb0e586961cf4.tar.gz
volse-hubzilla-edc5566f79c94f7ad994eccc7a8bb0e586961cf4.tar.bz2
volse-hubzilla-edc5566f79c94f7ad994eccc7a8bb0e586961cf4.zip
structure for channel unions
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index 0290bc402..0658f1738 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1422,9 +1422,10 @@ function import_directory_profile($hash,$profile,$addr,$ud_flags = 1, $suppress_
// Self censored, make it so
// These are not translated, so the German "erwachsenen" keyword will not censor the directory profile. Only the English form - "adult".
+
if(in_arrayi('nsfw',$clean) || in_arrayi('adult',$clean)) {
q("update xchan set xchan_flags = (xchan_flags | %d) where xchan_hash = '%s' limit 1",
- intval(XCHAN_FLAGS_CENSORED),
+ intval(XCHAN_FLAGS_SELFCENSORED),
dbesc($hash)
);
}