Commit cf6ca553 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #11907 body creation was not functional in mail capture

parent 6c3acf06
......@@ -1884,15 +1884,16 @@ class MailCapture
if(!$body) {
$contents = $html->childNodes;
$body = $htmlDoc->createElement('body');
$html->appendChild($body);
# Append original content to body
for($i=0, $l=$contents->length;
$i<$l;
$i++
)
) {
$body->appendChild(
$contents->item($i)
);
}
$html->appendChild($body);
}
# HEAD
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment