UpdateCurrencyRate.php
authorEdward <edward@roojs.com>
Mon, 20 Oct 2014 08:35:34 +0000 (16:35 +0800)
committerEdward <edward@roojs.com>
Mon, 20 Oct 2014 08:35:34 +0000 (16:35 +0800)
UpdateCurrencyRate.php

index 70d7f5a..433f07c 100644 (file)
@@ -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))