From b4890b22fb81fb6fd819257fd39cd4bf8bb7ef92 Mon Sep 17 00:00:00 2001 From: Niclas <niclasn@outlook.com> Date: Wed, 29 Jan 2025 12:24:49 +0100 Subject: [PATCH] fix: message notification not array --- source/php/Submission.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/php/Submission.php b/source/php/Submission.php index 5984cbfc..42ceba03 100644 --- a/source/php/Submission.php +++ b/source/php/Submission.php @@ -608,11 +608,14 @@ public function notify($email, $formId, $submissionId, $from = null) $message .= (!empty($subvalue)) ? $subvalue . $lineBreak : ''; } } + } else { + $message .= '<strong>' . $key . '</strong><br>' . $value; } $i++; } } + if ($messagePrefix) { $message = $messagePrefix . '<br><br>' . $message; }