Bugfix with empty values.
This commit is contained in:
parent
1cfb611e30
commit
5f2da89966
@ -61,7 +61,7 @@ class FieldDefinition
|
|||||||
*/
|
*/
|
||||||
private function addValueTranslations(&$field)
|
private function addValueTranslations(&$field)
|
||||||
{
|
{
|
||||||
if (!isset($field['value'])) {
|
if (!isset($field['value']) || empty($field['value'])) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
switch ($field['type']) {
|
switch ($field['type']) {
|
||||||
|
Reference in New Issue
Block a user