projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
DataObjects/Core_curr_rate.php
[Pman.Core]
/
UpdateCurrencyRate.php
diff --git
a/UpdateCurrencyRate.php
b/UpdateCurrencyRate.php
index
a5e2c7a
..
fc37c1f
100644
(file)
--- a/
UpdateCurrencyRate.php
+++ b/
UpdateCurrencyRate.php
@@
-104,10
+104,9
@@
class Pman_Core_UpdateCurrencyRate extends Pman
'from' => date('Y-m-d H:i:s', strtotime($fromDate)),
'to' => date('Y-m-d H:i:s', strtotime($toDate))
));
-print_R($o);exit;
+
(empty($o)) ? $curr->insert() : $curr->update($o);
- $this->jok("DONE");
}
$this->jok("DONE");