[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
No known key found for this signature in database
GPG key ID: 955F0567380E586A

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