From: Edward Date: Mon, 20 Oct 2014 08:35:34 +0000 (+0800) Subject: UpdateCurrencyRate.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=83b6a3b7b92494b307764e27f631b8ed784e9e92 UpdateCurrencyRate.php --- diff --git a/UpdateCurrencyRate.php b/UpdateCurrencyRate.php index 70d7f5ac..433f07cb 100644 --- a/UpdateCurrencyRate.php +++ b/UpdateCurrencyRate.php @@ -96,7 +96,7 @@ class Pman_Core_UpdateCurrencyRate extends Pman $o = clone($curr); } - $curr->setForm(array( + $curr->setFrom(array( 'rate' => $rate, 'from' => date('Y-m-d H:i:s', strtotime($fromDate)), 'to' => date('Y-m-d H:i:s', strtotime($toDate))