Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/4.2' into 4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
bwaidelich committed Jun 17, 2020
2 parents 65d6bf3 + f72ff61 commit b4a8048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/ViewHelpers/TranslateElementPropertyViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function render($property, FormElementInterface $element = null)
$element = $this->renderChildren();
}
if ($property === 'label') {
$defaultValue = $element->getLabel();
$defaultValue = (string)$element->getLabel();
} else {
$defaultValue = isset($element->getProperties()[$property]) ? (string)$element->getProperties()[$property] : '';
}
Expand Down

0 comments on commit b4a8048

Please sign in to comment.