Skip to content

Commit

Permalink
Merge branch '5.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
bwaidelich committed Jun 17, 2020
2 parents cfb1233 + 6439504 commit f3c5fce
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 @@ -66,7 +66,7 @@ public function render(): string
}
$property = $this->arguments['property'];
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 f3c5fce

Please sign in to comment.