Commit f91b748c authored by Jan Helke's avatar Jan Helke Committed by Christian Kuhn
Browse files

[BUGFIX] Rename variable for storing the translated options

Ensure that in a foreign language context the selected option will
be translated in the finishers. Regression fix introduced with #93979.

Resolves: #96455
Related: #93979
Releases: main, 11.5
Change-Id: Ie6b33f70d6d9a19232821bda77e37b6f290ea061

Tested-by: core-ci's avatarcore-ci <>
Tested-by: Marc Willmann's avatarMarc Willmann <>
Tested-by: Christian Kuhn's avatarChristian Kuhn <>
Reviewed-by: Marc Willmann's avatarMarc Willmann <>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <>
parent 8b5bc3e9
......@@ -109,7 +109,7 @@ final class RenderFormValueViewHelper extends AbstractViewHelper
$properties = $element->getProperties();
$options = $properties['options'] ?? null;
if (is_array($options)) {
$properties['options'] = TranslateElementPropertyViewHelper::renderStatic(
$options = (array)TranslateElementPropertyViewHelper::renderStatic(
['element' => $element, 'property' => 'options'],
Supports Markdown
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