From: Edward Date: Mon, 20 Oct 2014 07:55:42 +0000 (+0800) Subject: UpdateCurrencyRate.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=0f9bec07619ceb55f07739c9016602b89d14e460 UpdateCurrencyRate.php --- diff --git a/UpdateCurrencyRate.php b/UpdateCurrencyRate.php index 188405da..959f6e77 100644 --- 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 = str_getcsv($elements->item(0)->nodeValue, ','); + $rate = str_getcsv($elements->item(0)->nodeValue, ",", "\n"); print_r($rate);exit;