Mailer.php
authorEdward <edward@roojs.com>
Tue, 19 Feb 2019 09:17:32 +0000 (17:17 +0800)
committerEdward <edward@roojs.com>
Tue, 19 Feb 2019 09:17:32 +0000 (17:17 +0800)
Mailer.php

index bfa1acb..aa4a18f 100644 (file)
@@ -605,7 +605,7 @@ class Pman_Core_Mailer {
         print_r($mt);
         echo "\n";
         
-        if($mt == 'text/html; charset=UTF-8') {
+        if(preg_match('/html/', $mt)) {
             print_R($data);
         }
         require_once 'File/MimeType.php';