From 2b6ce94a208dc8dd67f18dda7a6c5a94dc5571c6 Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 20 Oct 2014 16:28:56 +0800 Subject: [PATCH] UpdateCurrencyRate.php --- UpdateCurrencyRate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UpdateCurrencyRate.php b/UpdateCurrencyRate.php index e5e89c19..dc7d3731 100644 --- a/UpdateCurrencyRate.php +++ b/UpdateCurrencyRate.php @@ -57,8 +57,8 @@ class Pman_Core_UpdateCurrencyRate extends Pman $fromDate = date('m/d/y', strtotime("-6 MONTH")); $toDate = date('m/d/y'); - - foreach ($currency as $c){ + print_R($currency);exit; + foreach ($currency as $k => $c){ $params = array( 'lang' => 'en', 'result' => 1, -- 2.39.2