[Sprint/GiddyGiraffe] (feat): also allow to save the nsfw attribute
depends on front!349
0/1 discussion resolved
approved this merge request
added 1 commit
- bbd18736 - (fix): never include last unit in the given timespan
added 1 commit
- 5ec55be9 - (feat): also allow to save the nsfw attribute
211 211 } 212 212 } 213 213 214 if (isset($_POST['nsfw']) && $_POST['nsfw']) { 215 $nsfw = array_unique(array_merge($_POST['nsfw'], $owner->getNsfwLock())); 216 $update['nsfw'] = json_encode($nsfw); 217 $owner->nsfw = $update['nsfw']; - Owner
must use
setNsfw()
options