mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-25 20:58:55 +00:00
[ticket/13111] Dropdown options are already an array in the field data
PHPBB3-13111
This commit is contained in:
parent
71ac6ab2b8
commit
f64a937a57
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ abstract class type_base implements type_interface
|
|||
{
|
||||
foreach ($field_data[$key] as $lang_id => $options)
|
||||
{
|
||||
$field_data[$key][$lang_id] = explode("\n", $options);
|
||||
$field_data[$key][$lang_id] = is_array($options) ? $options : explode("\n", $options);
|
||||
}
|
||||
|
||||
return $current_value;
|
||||
|
|
Loading…
Add table
Reference in a new issue