X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Mailer.php;h=8d0be1317435ded82b011970f699325814382baa;hb=179661647d4d07509623bca661330bf818e33682;hp=48f7b77a0ffe90b6057b4451979221dbe23f72c1;hpb=8c43cf679569c6ebe23181722fa0511523068bf0;p=Pman.Core diff --git a/Mailer.php b/Mailer.php index 48f7b77a..8d0be131 100644 --- a/Mailer.php +++ b/Mailer.php @@ -380,7 +380,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); $imgs= $dom->getElementsByTagName('img'); foreach ($imgs as $i=>$img) { @@ -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..!