From 9c13aea0495e7715b6c0077a43a4165557666d7e Mon Sep 17 00:00:00 2001 From: Bastian Waidelich Date: Mon, 19 Sep 2022 17:51:34 +0200 Subject: [PATCH] Update RenderValuesViewHelper.php --- Classes/ViewHelpers/RenderValuesViewHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/ViewHelpers/RenderValuesViewHelper.php b/Classes/ViewHelpers/RenderValuesViewHelper.php index c25675c..7dabda2 100644 --- a/Classes/ViewHelpers/RenderValuesViewHelper.php +++ b/Classes/ViewHelpers/RenderValuesViewHelper.php @@ -96,10 +96,10 @@ public function render(): string */ protected function processElementValue(FormElementInterface $element, $value) { - $properties = $element->getProperties(); if (is_object($value)) { return $this->processObject($element, $value); } + $properties = $element->getProperties(); if (isset($properties['options']) && is_array($properties['options'])) { if (is_array($value)) { return $this->mapValuesToOptions($value, $properties['options']);