ConvertStyle.php
authorEdward <edward@roojs.com>
Wed, 19 Feb 2014 09:45:27 +0000 (17:45 +0800)
committerEdward <edward@roojs.com>
Wed, 19 Feb 2014 09:45:27 +0000 (17:45 +0800)
ConvertStyle.php

index 1af0e11..05c5c2d 100644 (file)
@@ -133,7 +133,7 @@ class Pman_Core_ConvertStyle extends Pman
 //            }
 //        }
         
-        foreach ($doc->evaluate('//style') as $s){
+        foreach ($xpath->evaluate('//style') as $s){
             
             print_r($s);
 //            $this->styleSheets[] = $this->$this->replaceImageUrl($s)