UpdateCurrencyRate.php
authorEdward <edward@roojs.com>
Mon, 20 Oct 2014 07:34:43 +0000 (15:34 +0800)
committerEdward <edward@roojs.com>
Mon, 20 Oct 2014 07:34:43 +0000 (15:34 +0800)
UpdateCurrencyRate.php

index f5177d2..9c80617 100644 (file)
@@ -84,9 +84,7 @@ class Pman_Core_UpdateCurrencyRate extends Pman
         
         $elements = $xpath->query("//table/table/tbody", $ts->item(0));
         
-        foreach($elements as $el) {
-            print_R($el);exit;
-        }
+        print_r($elements->firstChild);
         
     }