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

index f2af69d..299488c 100644 (file)
@@ -82,7 +82,7 @@ class Pman_Core_UpdateCurrencyRate extends Pman
         
         $ts = $xpath->query("//td[@id='content_section']");
         
-        $elements = $xpath->query("table/tr", $ts->item(0));
+        $elements = $xpath->query("table/tr[last()]", $ts->item(0));
         
         print_r($elements);exit;