Skip to content

Commit

Permalink
Fix problem with rendering block by type
Browse files Browse the repository at this point in the history
  • Loading branch information
BartoszWojdalowicz committed Mar 7, 2024
1 parent 88c4bf4 commit 660e711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Twig/Runtime/SuluRuntime.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 660e711

Please sign in to comment.