DataObjects/Core_notify_recur.php
[Pman.Core] / Mailer.php
index 39c904e..8601f71 100644 (file)
@@ -380,7 +380,7 @@ class Pman_Core_Mailer {
             $url  = $link->getAttribute('href');
             $file = $ff->rootDir . $url;
             
-            if (!preg_match('#^http://', $url)) {
+            if (!preg_match('#^http://#', $url)) {
                 $file = $ff->rootDir . $url;
 
                 if (!file_exists($file)) {
@@ -392,10 +392,6 @@ class Pman_Core_Mailer {
                $file = $url;  
             }
             
-            if (!file_exists($file)) {
-                $link->setAttribute('href', 'missing:' . $file);
-                continue;
-            }
             $par = $link->parentNode;
             $par->removeChild($link);
             $s = $dom->createElement('style');