From: edward Date: Mon, 26 Mar 2018 08:37:30 +0000 (+0800) Subject: Mailer.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=9bbc2bd30ed084b2477f3a7032deac592682d8d8 Mailer.php --- diff --git a/Mailer.php b/Mailer.php index 9daa52a6..32b99b5f 100644 --- a/Mailer.php +++ b/Mailer.php @@ -411,7 +411,7 @@ class Pman_Core_Mailer { $dom = new DOMDocument(); // this may raise parse errors as some html may be a component.. - @$dom->loadHTML('' .$html); + @$dom->loadHTML($html); $links = $dom->getElementsByTagName('link'); $lc = array(); foreach ($links as $link) { // duplicate as links is dynamic and we change it..!