N°5388 - PHP 8.2: Fix dynamic properties that were actually just case-sensitive typos

This commit is contained in:
Molkobain
2023-01-27 17:57:50 +01:00
parent 6fb00cbbf3
commit f48df74933
3 changed files with 8 additions and 8 deletions

View File

@@ -250,7 +250,7 @@ class EMailLaminas extends Email
protected function EmbedInlineImages(string &$sBody)
{
$oDOMDoc = new DOMDocument();
$oDOMDoc->preserveWhitespace = true;
$oDOMDoc->preserveWhiteSpace = true;
@$oDOMDoc->loadHTML('<?xml encoding="UTF-8"?>'.$sBody); // For loading HTML chunks where the character set is not specified
$oXPath = new DOMXPath($oDOMDoc);