mirror of
https://github.com/farmOS/farmOS.git
synced 2024-02-23 11:37:38 +01:00
Fix Notice: Undefined index: region in farm_ui_views_add_bundle_handlers().
This commit is contained in:
parent
e26a30e8d7
commit
5df960aab6
|
@ -158,7 +158,7 @@ function farm_ui_views_add_bundle_handlers(ViewExecutable $view, string $display
|
|||
|
||||
// Skip the bundle field if the view display was set as "hidden".
|
||||
$view_options = $field_definition->getDisplayOptions('view');
|
||||
if (empty($view_options) || $view_options['region'] == 'hidden') {
|
||||
if (empty($view_options) || (!empty($view_options['region']) && $view_options['region'] == 'hidden')) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue