mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/17151] Fix board disable access setting
PHPBB3-17151
This commit is contained in:
parent
463848dc08
commit
a1f236d85e
1 changed files with 2 additions and 2 deletions
|
@ -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'),
|
||||
],
|
||||
];
|
||||
]];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue