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

index 4399fbc..e9b8f0c 100644 (file)
@@ -80,7 +80,7 @@ class Pman_Core_UpdateCurrencyRate extends Pman
         
         $xpath = new DOMXpath($doc);
         
-        $elements = $xpath->query("//td[@id='content_section']/table/tr[last()]/td/table/tr/td");
+        $elements = $xpath->query("//td[@id='content_section']/table/tr[last()]/td/table/tr[0]");
         
         print_r($elements->item(0));exit;