Skip to content

Commit

Permalink
Update RenderValuesViewHelper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bwaidelich authored Sep 19, 2022
1 parent 91a0420 commit 98cbe3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/ViewHelpers/RenderValuesViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
Expand Down

0 comments on commit 98cbe3d

Please sign in to comment.