projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b3e2f2
)
UpdateCurrencyRate.php
author
Edward
<edward@roojs.com>
Mon, 20 Oct 2014 07:57:27 +0000
(15:57 +0800)
committer
Edward
<edward@roojs.com>
Mon, 20 Oct 2014 07:57:27 +0000
(15:57 +0800)
UpdateCurrencyRate.php
patch
|
blob
|
history
diff --git
a/UpdateCurrencyRate.php
b/UpdateCurrencyRate.php
index
8a3895c
..
959f6e7
100644
(file)
--- a/
UpdateCurrencyRate.php
+++ b/
UpdateCurrencyRate.php
@@
-84,7
+84,7
@@
class Pman_Core_UpdateCurrencyRate extends Pman
$elements = $xpath->query("table/tr/td/pre", $ts->item(0));
- $rate =
array_map('str_getcsv', explode("\n", $elements->item(0)->nodeValue)
);
+ $rate =
str_getcsv($elements->item(0)->nodeValue, ",", "\n"
);
print_r($rate);exit;