This commit is contained in:
Shish
2023-06-27 11:45:27 +01:00
parent 38edf739fc
commit 8ebd8bf287
3 changed files with 4 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ class PrivateImage extends Extension
global $user;
$sb = $event->panel->create_new_block("Private Posts");
$sb->start_table();
if ($user->can(Permissions::SET_PRIVATE_IMAGE)){
if ($user->can(Permissions::SET_PRIVATE_IMAGE)) {
$sb->add_bool_option(PrivateImageConfig::USER_SET_DEFAULT, "Mark posts private by default", true);
}
$sb->add_bool_option(PrivateImageConfig::USER_VIEW_DEFAULT, "View private posts by default", true);