From: Edward Date: Mon, 20 Oct 2014 08:14:17 +0000 (+0800) Subject: UpdateCurrencyRate.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=44491ff06028db3d2b7ea4c4569fa0057185f10e UpdateCurrencyRate.php --- 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;