From: Edward Date: Mon, 20 Oct 2014 08:13:19 +0000 (+0800) Subject: UpdateCurrencyRate.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=9d3a706d22804c5159352f8b8314c41dcbefc5a7 UpdateCurrencyRate.php --- diff --git a/UpdateCurrencyRate.php b/UpdateCurrencyRate.php index 9ec34b25..94946ed5 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()]"); + $elements = $xpath->query("//td[@id='content_section']/table/tr[last()]/td/table/tr[first()]/td[last()]"); print_r($elements);exit;