projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
UpdateCurrencyRate.php
[Pman.Core]
/
UpdateCurrencyRate.php
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')