DataObjects/Core_email.php
authorEdward <edward@roojs.com>
Wed, 9 Jul 2014 05:45:01 +0000 (13:45 +0800)
committerEdward <edward@roojs.com>
Wed, 9 Jul 2014 05:45:01 +0000 (13:45 +0800)
DataObjects/Core_email.php

index 9b938ef..d1ae356 100644 (file)
@@ -203,8 +203,9 @@ class Pman_Core_DataObjects_Core_email extends DB_DataObject
         foreach ($xpath->query('//a[@href]') as $a) { 
             
             $href = $a->getAttribute('href');
-            print_r($href);
+            
             if(preg_match('/#unsubscribe/', $href) && !empty($unsubscribe)){
+                print_r($href);
                 $a->setAttribute('href', $unsubscribe);
                 continue;
             }