From 44491ff06028db3d2b7ea4c4569fa0057185f10e Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 20 Oct 2014 16:14:17 +0800 Subject: [PATCH] UpdateCurrencyRate.php --- UpdateCurrencyRate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UpdateCurrencyRate.php b/UpdateCurrencyRate.php index 94946ed5..6a675bdf 100644 --- a/UpdateCurrencyRate.php +++ b/UpdateCurrencyRate.php @@ -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[first()]/td[last()]"); + $elements = $xpath->query("//td[@id='content_section']/table/tr[last()]/td/table/tr[0]/td[last()]"); print_r($elements);exit; -- 2.39.2