From 660e7112cb259e40df668c5ef6138ae8df03d177 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Wojda=C5=82owicz?= Date: Thu, 7 Mar 2024 08:24:46 +0100 Subject: [PATCH] Fix problem with rendering block by type --- src/Twig/Runtime/SuluRuntime.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Twig/Runtime/SuluRuntime.php b/src/Twig/Runtime/SuluRuntime.php index 7b3ce67..fffc341 100644 --- a/src/Twig/Runtime/SuluRuntime.php +++ b/src/Twig/Runtime/SuluRuntime.php @@ -73,7 +73,7 @@ public function renderSuluBlockWithType(array $blocks, string $type): string $block = $blocks[0]; $content = ''; - $content .= $this->blockRendererStrategy->renderBlock($block) ?? ''; + $content .= $this->blockRendererStrategy->renderBlock($block); return $content; }