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
75f3700
..
ad86850
100644
(file)
--- a/
UpdateCurrencyRate.php
+++ b/
UpdateCurrencyRate.php
@@
-82,7
+82,9
@@
class Pman_Core_UpdateCurrencyRate extends Pman
$elements = $xpath->query("//td[@id='content_section']/table/tr[last()]/td/table/tr[1]/td[last()]");
- print_r($elements->item(0));exit;
+ $rate = empty($elements->item(0)->nodeValue) ? 0 : $elements->item(0)->nodeValue * 1;
+
+
}