projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
UpdateCurrencyRate.php
[Pman.Core]
/
UpdateCurrencyRate.php
diff --git
a/UpdateCurrencyRate.php
b/UpdateCurrencyRate.php
index
0a4177c
..
9ec34b2
100644
(file)
--- a/
UpdateCurrencyRate.php
+++ b/
UpdateCurrencyRate.php
@@
-80,9
+80,7
@@
class Pman_Core_UpdateCurrencyRate extends Pman
$xpath = new DOMXpath($doc);
- $ts = $xpath->query("//td[@id='content_section']");
-
- $elements = $xpath->query("/tr[2]", $ts->item(0));
+ $elements = $xpath->query("//td[@id='content_section']/table/tr[last()]");
print_r($elements);exit;