wrong logic

This commit is contained in:
redmatrix 2015-06-19 18:08:10 -07:00
parent 94e7a425e6
commit ddbaabd62d

View File

@ -39,7 +39,7 @@ function import_diaspora($data) {
if($data['user']['profile']['nsfw']) { if($data['user']['profile']['nsfw']) {
// fixme for hubzilla which doesn't use pageflags any more // 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(PAGE_ADULT),
intval($channel_id) intval($channel_id)
); );