mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/13111] Dropdown options are already an array in the field data
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user