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