diff --git a/app/Lib/Editor/ConditionResolver.php b/app/Lib/Editor/ConditionResolver.php index 713c92b3..171a6a7f 100644 --- a/app/Lib/Editor/ConditionResolver.php +++ b/app/Lib/Editor/ConditionResolver.php @@ -16,6 +16,6 @@ abstract class ConditionResolver */ public function make(array $content): array { - return array_filter($content['blocks'], fn ($block) => $this->filterBlock($block)); + return array_filter(data_get($content, 'blocks', []), fn ($block) => $this->filterBlock($block)); } }