Skip to content

Commit e9630f3

Browse files
committed
Fixed PHP array key warning.
1 parent 9da48ce commit e9630f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/Hooks/Utility.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function addMetaTags(?string $content, array $params): ?string {
6161
}
6262

6363
$typoScriptService = GeneralUtility::makeInstance(TypoScriptService::class);
64-
$metaTags = $typoScriptService->convertTypoScriptArrayToPlainArray($params['meta.']);
64+
$metaTags = $typoScriptService->convertTypoScriptArrayToPlainArray($metaTags);
6565
foreach ($metaTags as $key => $data) {
6666
$attribute = $defaultAttribute;
6767
$required = false;

0 commit comments

Comments
 (0)