Skip to content

Commit

Permalink
[BUGFIX] Make sure the first argument to stdWrap is always a string w…
Browse files Browse the repository at this point in the history
…ithin TypoScriptStructuredDataProvider
  • Loading branch information
RinyVT committed Jan 27, 2025
1 parent 358dd14 commit 5f3a62f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function getData(): array
foreach ($config as $key => $value) {
$cObject = $key . '.';
if (isset($dataConfig[$cObject])) {
$value = $this->getTyposcriptFrontendController()->cObj->stdWrap($key, $dataConfig[$cObject]);
$value = $this->getTyposcriptFrontendController()->cObj->stdWrap((string)$key, $dataConfig[$cObject]);
}
$key = in_array($key, ['type', 'context']) ? '@' . $key : $key;

Expand Down

0 comments on commit 5f3a62f

Please sign in to comment.