Skip to content

Commit 3e60092

Browse files
committed
Fixed PHP array key warning.
1 parent 1b48471 commit 3e60092

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 = isset($data['attribute']) ? $data['attribute'] : $defaultAttribute;
6767
$required = !empty($data['required']);

0 commit comments

Comments
 (0)