diff --git a/typo3/sysext/backend/Classes/Form/Element/TextElement.php b/typo3/sysext/backend/Classes/Form/Element/TextElement.php index f2e820116b6797457e50202c73ac1a21f9003de7..76d3832a0307ee88c87aeff634d70a0486ef2a0c 100644 --- a/typo3/sysext/backend/Classes/Form/Element/TextElement.php +++ b/typo3/sysext/backend/Classes/Form/Element/TextElement.php @@ -124,7 +124,7 @@ class TextElement extends AbstractFormElement $html[] = '<div class="form-wizards-element">'; $html[] = '<div class="form-control-wrap"' . ($width ? ' style="max-width: ' . $width . 'px">' : '>'); $html[] = '<textarea class="form-control" rows="' . $rows . '" disabled>'; - $html[] = htmlspecialchars($itemValue); + $html[] = htmlspecialchars((string)$itemValue); $html[] = '</textarea>'; $html[] = '</div>'; $html[] = '</div>';