projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0b11352
)
UpdateCurrencyRate.php
author
Edward
<edward@roojs.com>
Mon, 20 Oct 2014 08:26:55 +0000
(16:26 +0800)
committer
Edward
<edward@roojs.com>
Mon, 20 Oct 2014 08:26:55 +0000
(16:26 +0800)
UpdateCurrencyRate.php
patch
|
blob
|
history
diff --git
a/UpdateCurrencyRate.php
b/UpdateCurrencyRate.php
index
b5e05d5
..
e5e89c1
100644
(file)
--- a/
UpdateCurrencyRate.php
+++ b/
UpdateCurrencyRate.php
@@
-102,11
+102,9
@@
class Pman_Core_UpdateCurrencyRate extends Pman
'to' => date('Y-m-d H:i:s', strtotime($toDate))
));
- (empty($o)) ? $curr->insert()
?
$curr->update($o);
+ (empty($o)) ? $curr->insert()
:
$curr->update($o);
}
-
-
}
function curl($url, $request = array(), $method = 'GET')