projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76633c6
)
UpdateCurrencyRate.php
author
Edward
<edward@roojs.com>
Mon, 20 Oct 2014 08:16:16 +0000
(16:16 +0800)
committer
Edward
<edward@roojs.com>
Mon, 20 Oct 2014 08:16:16 +0000
(16:16 +0800)
UpdateCurrencyRate.php
patch
|
blob
|
history
diff --git
a/UpdateCurrencyRate.php
b/UpdateCurrencyRate.php
index
d059771
..
cd9b351
100644
(file)
--- 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[
1
]");
+ $elements = $xpath->query("//td[@id='content_section']/table/tr[last()]/td/table/tr[
first()
]");
print_r($elements->item(0));exit;