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

index 63ba644..5f80276 100644 (file)
@@ -98,13 +98,13 @@ class Pman_Core_UpdateCurrencyRate extends Pman
             if($curr->find(true)){
                 $o = clone($curr);
             }
-            print_R($curr);exit;
+            
             $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))
             ));
-
+print_R($curr);exit;
             (empty($o)) ? $curr->insert() : $curr->update($o);
             
             $this->jok("DONE");