From 2ab2f811a80903322454170111ca799fda13c804 Mon Sep 17 00:00:00 2001 From: Stefan Hagspiel Date: Thu, 21 Sep 2023 09:03:48 +0200 Subject: [PATCH] [Mail Editor] assert label value --- src/MailEditor/Widget/FormFieldWidget.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MailEditor/Widget/FormFieldWidget.php b/src/MailEditor/Widget/FormFieldWidget.php index cb732ce9..dcd561d0 100644 --- a/src/MailEditor/Widget/FormFieldWidget.php +++ b/src/MailEditor/Widget/FormFieldWidget.php @@ -83,7 +83,7 @@ protected function parseSimpleField(array $outputData, string $renderType, strin : ''; } - $fieldValue .= $this->parseFieldValue($outputData['value']); + $fieldValue .= $this->parseFieldValue($outputData['value'] ?? '[NO VALUE]'); return $fieldValue; }