From ddbaabd62d814bb520ac800ef26d36b083e8c094 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Fri, 19 Jun 2015 18:08:10 -0700 Subject: wrong logic --- include/Import/import_diaspora.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/Import/import_diaspora.php') 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) ); -- cgit v1.2.3