diff --git a/Classes/Wegmeister/Hyphenator/ViewHelpers/Format/HyphenateViewHelper.php b/Classes/Wegmeister/Hyphenator/ViewHelpers/Format/HyphenateViewHelper.php index 7ab1ea7..c3a02d4 100644 --- a/Classes/Wegmeister/Hyphenator/ViewHelpers/Format/HyphenateViewHelper.php +++ b/Classes/Wegmeister/Hyphenator/ViewHelpers/Format/HyphenateViewHelper.php @@ -152,7 +152,8 @@ public function render($value = NULL, $locale = null) } if ($value === NULL) { - $value = $this->buildRenderChildrenClosure()(); + $closure = $this->buildRenderChildrenClosure(); + $value = $closure(); } if (is_string($value) || (is_object($value) && method_exists($value, '__toString'))) { if ($locale === null) {