From: Edward Date: Mon, 20 Oct 2014 08:12:04 +0000 (+0800) Subject: UpdateCurrencyRate.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=c4eb19320154f011f3830b7e1977a7a691776513 UpdateCurrencyRate.php --- diff --git a/UpdateCurrencyRate.php b/UpdateCurrencyRate.php index f2af69d6..299488c2 100644 --- a/UpdateCurrencyRate.php +++ b/UpdateCurrencyRate.php @@ -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;