aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-06-19 18:08:10 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-06-19 18:08:10 -0700
commitddbaabd62d814bb520ac800ef26d36b083e8c094 (patch)
tree812149aa94ecc851b922e6c401d8effb98cd28b0
parent94e7a425e6fe455238379800c2a8c30bac70ce2f (diff)
downloadvolse-hubzilla-ddbaabd62d814bb520ac800ef26d36b083e8c094.tar.gz
volse-hubzilla-ddbaabd62d814bb520ac800ef26d36b083e8c094.tar.bz2
volse-hubzilla-ddbaabd62d814bb520ac800ef26d36b083e8c094.zip
wrong logic
-rw-r--r--include/Import/import_diaspora.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Import/import_diaspora.php b/include/Import/import_diaspora.php
index f81f28273..9fcea918c 100644
--- a/include/Import/import_diaspora.php
+++ b/include/Import/import_diaspora.php
@@ -39,7 +39,7 @@ function import_diaspora($data) {
if($data['user']['profile']['nsfw']) {
// fixme for hubzilla which doesn't use pageflags any more
- q("update channel set channel_pageflags = (channel_pageflags & %d) where channel_id = %d",
+ q("update channel set channel_pageflags = (channel_pageflags | %d) where channel_id = %d",
intval(PAGE_ADULT),
intval($channel_id)
);