This commit is contained in:
neopheus 2022-09-12 12:56:45 +02:00
parent a006aa8780
commit 83b0bef3a8
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ class TemplateProcessor
*/
protected static function ensureUtf8Encoded($subject)
{
if (!Text::isUTF8($subject)) {
if (!Text::isUTF8($subject) && !is_null($subject)) {
$subject = utf8_encode($subject);
}