wrong logic
This commit is contained in:
parent
94e7a425e6
commit
ddbaabd62d
@ -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)
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user