mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/17151] Fix board disable access setting
PHPBB3-17151
This commit is contained in:
@@ -1152,7 +1152,7 @@ class acp_board
|
||||
*/
|
||||
public function board_disable_access(int $value) : array
|
||||
{
|
||||
return [
|
||||
return ['options' => [
|
||||
[
|
||||
'value' => 0,
|
||||
'selected' => $value == 0,
|
||||
@@ -1168,7 +1168,7 @@ class acp_board
|
||||
'selected' => $value == 2,
|
||||
'label' => $this->language->lang('DISABLE_BOARD_ACCESS_ADMIN_ALL_MODS'),
|
||||
],
|
||||
];
|
||||
]];
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user