mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°5388 - PHP 8.2: Fix dynamic properties that were actually just case-sensitive typos
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user