Skip to content
Snippets Groups Projects
Commit 34533b7d authored by Keshav Patel's avatar Keshav Patel
Browse files

Issue #3510757: Undefined array key "formatter_settings"

parent fdece7c0
No related branches found
No related tags found
1 merge request!98Issue #3510757: Undefined array key "formatter_settings"
......@@ -460,7 +460,7 @@ abstract class BaseFormatter extends FormatterBase implements BaseFormatterInter
$format_type = $formatter_settings['format_type'];
}
$options = $this->createOptionsForInstance($custom_item, $format_type, $formatter_settings['formatter_settings']);
$options = $this->createOptionsForInstance($custom_item, $format_type, $formatter_settings['formatter_settings'] ?? []);
$plugin = $this->customFieldFormatterManager->getInstance($options);
$value = $plugin->formatValue($item, $value);
if ($value === '' || $value === NULL) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment