diff --git a/LEAF-Automated-Tests b/LEAF-Automated-Tests index a7f6435a6..c56c1b20b 160000 --- a/LEAF-Automated-Tests +++ b/LEAF-Automated-Tests @@ -1 +1 @@ -Subproject commit a7f6435a65ae82b646ebfd70cd3ea92015b96a38 +Subproject commit c56c1b20b429f902108c954ab825c9918f7d697d diff --git a/LEAF_Request_Portal/sources/Email.php b/LEAF_Request_Portal/sources/Email.php index 4286687db..62345ddc3 100644 --- a/LEAF_Request_Portal/sources/Email.php +++ b/LEAF_Request_Portal/sources/Email.php @@ -415,7 +415,7 @@ function initNexusDB(): void private function getHeaders(): string { $header = 'MIME-Version: 1.0'; - $header .= "\r\nContent-type: text/html; charset=iso-8859-1"; + $header .= "\r\nContent-type: text/html; charset=utf-8"; if ($this->emailSender == '') { $header .= "\r\nFrom: {$this->emailFrom}"; } else { diff --git a/LEAF_Request_Portal/sources/FormWorkflow.php b/LEAF_Request_Portal/sources/FormWorkflow.php index 48603d0a0..e5960b8e6 100644 --- a/LEAF_Request_Portal/sources/FormWorkflow.php +++ b/LEAF_Request_Portal/sources/FormWorkflow.php @@ -1672,7 +1672,7 @@ private function getFields(): array default: break; } - $data = iconv('UTF-8', 'ISO-8859-1//TRANSLIT', $data); + $formattedFields["content"][$field['indicatorID']] = $data !== "" ? $data : $field["default"]; $formattedFields["to_cc_content"][$field['indicatorID']] = $emailValue; }