diff --git a/mailpoet/lib/EmailEditor/Integrations/Core/Renderer/Blocks/Button.php b/mailpoet/lib/EmailEditor/Integrations/Core/Renderer/Blocks/Button.php index aee8deffe9..b83e129579 100644 --- a/mailpoet/lib/EmailEditor/Integrations/Core/Renderer/Blocks/Button.php +++ b/mailpoet/lib/EmailEditor/Integrations/Core/Renderer/Blocks/Button.php @@ -25,7 +25,7 @@ class Button extends AbstractBlockRenderer { 'color' => [ 'text' => $blockStyles['color']['text'] ?? '', ], - 'typography' => $blockStyles['typography'], + 'typography' => $blockStyles['typography'] ?? [], ]); return (object)[ 'css' => $this->compileCss($styles['declarations'], ['display' => 'block']),