1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

[ticket/17151] Fix registration test error

PHPBB3-17151
This commit is contained in:
rxu
2023-09-19 13:16:57 +07:00
parent 9350e82d71
commit 52517a5efd
7 changed files with 54 additions and 22 deletions

View File

@@ -291,9 +291,7 @@ function phpbb_language_select(\phpbb\db\driver\driver_interface $db, string $de
];
}
return [
'options' => $lang_options
];
return $lang_options;
}
/**
@@ -325,16 +323,13 @@ function style_select($default = '', $all = false, array $styledata = [])
foreach ($styledata as $row)
{
$style_options[] = [
'tag' => 'select',
'value' => $row['style_id'],
'selected' => $row['style_id'] == $default,
'label' => $row['style_name'],
];
}
return [
'options' => $style_options,
];
return $style_options;
}
/**