Skip to content

Commit

Permalink
[BUGFIX] Prevent deprecation notice in InputLinkElement
Browse files Browse the repository at this point in the history
Add missing typecast to prevent deprecation notice.

Resolves: #102396
Releases: 11.5
Change-Id: I49f22bac872b2485cb282ce26121a06e08f87810
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81802
Reviewed-by: Nikita Hovratov <nikita.h@live.de>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Nikita Hovratov <nikita.h@live.de>
  • Loading branch information
o-ba authored and lolli42 committed Nov 20, 2023
1 parent 9f73585 commit 5edb7f3
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -228,7 +228,7 @@ public function render()
$expansionHtml[] = '<button class="btn btn-default t3js-form-field-inputlink-explanation-toggle" type="button" title="' . htmlspecialchars($toggleButtonTitle) . '">';
$expansionHtml[] = $this->iconFactory->getIcon('actions-version-workspaces-preview-link', Icon::SIZE_SMALL)->render();
$expansionHtml[] = '</button>';
$expansionHtml[] = '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
$expansionHtml[] = '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars((string)$itemValue) . '" />';
$expansionHtml[] = '</div>';
$expansionHtml[] = '</div>';
if (!empty($valuePickerHtml) || !empty($fieldControlHtml)) {
Expand Down

0 comments on commit 5edb7f3

Please sign in to comment.