From 0351565c839605541070f5c7350509077ca01bef Mon Sep 17 00:00:00 2001 From: Cyssoo Date: Thu, 5 Feb 2026 10:33:04 +0100 Subject: [PATCH] Guard missing prettyblock content --- views/templates/hook/prettyblocks/prettyblock_everblock.tpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/views/templates/hook/prettyblocks/prettyblock_everblock.tpl b/views/templates/hook/prettyblocks/prettyblock_everblock.tpl index ce9f0d5..31f0672 100644 --- a/views/templates/hook/prettyblocks/prettyblock_everblock.tpl +++ b/views/templates/hook/prettyblocks/prettyblock_everblock.tpl @@ -31,7 +31,9 @@ {if isset($state.background_color) && $state.background_color}background-color:{$state.background_color};{/if} {if isset($state.text_color) && $state.text_color}color:{$state.text_color};{/if} "> - {$state.content nofilter} + {if isset($state.content)} + {$state.content nofilter} + {/if} {if isset($block.extra.states) && $block.extra.states} {foreach $block.extra.states as $extra_state} {if isset($extra_state.content)}