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

index bc5cdf9..f1c534c 100644 (file)
@@ -82,9 +82,9 @@ class Pman_Core_UpdateCurrencyRate extends Pman
         
         $ts = $xpath->query("//table[@id='converter_table']");
         
-        $elements = $xpath->query("table", $ts->item(0));
+        $elements = $xpath->query("/table/table", $ts->item(0));
         
-        print_r($ts->item(0));
+        print_r($elements);
         
     }