mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 14:48:53 +00: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:
commit
7694623cd2
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)
|
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;
|
return $current_value;
|
||||||
|
|
Loading…
Add table
Reference in a new issue