Skip to content
Snippets Groups Projects
Commit 5edb7f34 authored by Oliver Bartsch's avatar Oliver Bartsch Committed by Christian Kuhn
Browse files

[BUGFIX] Prevent deprecation notice in InputLinkElement

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: default avatarNikita Hovratov <nikita.h@live.de>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarNikita Hovratov <nikita.h@live.de>
parent 9f73585e
Branches
Tags
No related merge requests found
...@@ -228,7 +228,7 @@ class InputLinkElement extends AbstractFormElement ...@@ -228,7 +228,7 @@ class InputLinkElement extends AbstractFormElement
$expansionHtml[] = '<button class="btn btn-default t3js-form-field-inputlink-explanation-toggle" type="button" title="' . htmlspecialchars($toggleButtonTitle) . '">'; $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[] = $this->iconFactory->getIcon('actions-version-workspaces-preview-link', Icon::SIZE_SMALL)->render();
$expansionHtml[] = '</button>'; $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>';
$expansionHtml[] = '</div>'; $expansionHtml[] = '</div>';
if (!empty($valuePickerHtml) || !empty($fieldControlHtml)) { if (!empty($valuePickerHtml) || !empty($fieldControlHtml)) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment