We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40ea91c commit a46e9f1Copy full SHA for a46e9f1
Classes/Middleware/InlineSvgInjector.php
@@ -71,8 +71,8 @@ protected function isOutputting(ResponseInterface $response): bool
71
protected function getInlineSvgAsset(): string
72
{
73
$assetCollector = GeneralUtility::makeInstance(AssetCollector::class);
74
- $cached = $this->getTypoScriptFrontendController()->config['b13/assetcollector'];
75
- if (!empty($cached['xmlFiles']) && is_array($cached['xmlFiles'])) {
+ $cached = $this->getTypoScriptFrontendController()->config['b13/assetcollector'] ?? [];
+ if (!empty($cached['xmlFiles'] ?? null) && is_array($cached['xmlFiles'])) {
76
$assetCollector->mergeXmlFiles($cached['xmlFiles']);
77
}
78
return $assetCollector->buildInlineXmlTag();
0 commit comments