diff --git a/src/EventListener/Dca/NavigationDcaListener.php b/src/EventListener/Dca/NavigationDcaListener.php index 226e3fc..56b8a70 100644 --- a/src/EventListener/Dca/NavigationDcaListener.php +++ b/src/EventListener/Dca/NavigationDcaListener.php @@ -40,7 +40,7 @@ public function getPageFields(): array continue; } - $fields[$fieldName] = sprintf('%s [%s]', $config['label'][0], $fieldName); + $fields[$fieldName] = sprintf('%s [%s]', $config['label'][0] ?? '', $fieldName); } return $fields;