1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/17151] Fix board disable access setting

PHPBB3-17151
This commit is contained in:
rxu
2024-05-25 12:50:04 +07:00
parent 463848dc08
commit a1f236d85e

View File

@@ -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'),
],
];
]];
}
/**