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

[ticket/17151] Fix tests

PHPBB3-17151
This commit is contained in:
rxu
2023-09-19 15:30:52 +07:00
parent 52517a5efd
commit 7b04e411b6
6 changed files with 180 additions and 24 deletions

View File

@@ -970,10 +970,10 @@ class acp_board
{
list($available, $value) = $data;
$act_options[] = [
'value' => $value,
'selected' => $selected_value == $value,
'label' => $user->lang($key),
'disabled' => !$available,
'value' => $value,
'selected' => $selected_value == $value,
'label' => $user->lang($key),
'class' => !$available ? 'disabled-option' : '',
];
}